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

std::ostream &operator<<(std::ostream &, const basic_result<T, E, NoValuePolicy> &) - Boost.Outcome documentation
Prev Up HomeNext

std::ostream &operator<<(std::ostream &, const basic_result &)

Serialises a basic_result to a std::ostream.

Serialisation format is:


This is the wrong function to use if you wish to print human readable output. Use std::string print(const basic_result &) instead.

Overridable: Not overridable.

Requires: That operator<< is a valid expression for std::ostream and T and E.

Namespace: BOOST_OUTCOME_V2_NAMESPACE

Header: (must be explicitly included manually).

Last revised: March 03, 2019 at 21:04:29 UTC

Prev Up HomeNext