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
This is an older version of Boost and was released in 2024. The current version is 1.90.0.
void
fail(
boost::system::error_code ec) noexcept;
This changes the state of the parser to indicate that the parse has failed. A parser implementation can use this to fail the parser if needed due to external inputs.
If !ec,
the stored error code is unspecified.
Constant.
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
The error code to set. If the code does not indicate failure, an implementation-defined error code that indicates failure will be stored instead. |