Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

basic_parser::done
PrevUpHomeNext

Return true if a complete JSON has been parsed.

Synopsis
bool
done() const;
Description

This function returns true when all of these conditions are met:

  • A complete serialized JSON has been presented to the parser, and
  • No error or exception has occurred since the parser was constructed, or since the last call to reset,
Complexity

Constant.

Exception Safety

No-throw guarantee.


PrevUpHomeNext