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.
Set JSON serialization options on input stream.
Defined in header <boost/json/serialize_options.hpp>
std::ostream& operator<<(std::ostream& os,serialize_optionsconst& opts);
The function stores serialization options in the private storage of the
stream. If the stream fails to allocate necessary private storage, badbit will be set on it.
Reference to os.
Amortized constant (due to potential memory allocation by the stream).
Strong guarantee. The stream may throw as configured by std::ios::exceptions.
|
Name |
Description |
|---|---|
|
|
The output stream. |
|
|
The options to store. |
Convenience header <boost/json.hpp>