basic_parser::reset

Reset the state, to parse a new document.

Synopsis

void
reset() noexcept;

Description

This function discards the current parsing state, to prepare for parsing a new document. Dynamically allocated temporary memory used by the implementation is not deallocated.

Complexity

Constant.

Exception Safety

No-throw guarantee.