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 the documentation for a snapshot of the master branch, built from commit 7789ef3d8d.
Prev Up HomeNext

basic_result(const basic_result &)

Copy constructor.

Requires: that value_type and error_type both implement a copy constructor.

Complexity: Same as for value_type’s and error_type’s copy constructors. Constexpr, triviality and noexcept of underlying operations is propagated.

Guarantees: If an exception is thrown during the operation, the object is left in a partially completed state, as per the normal rules for the same operation on a struct.

Last revised: March 03, 2019 at 00:11:47 UTC


Prev Up HomeNext