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 an old version of Boost. Click here to view this page for the latest version.
Prev Up HomeNext

basic_result(A1 &&, A2 &&, Args ...)

Implicit inplace value or error constructor. Delegates to an appropriate explicit inplace constructor depending on input.

Requires: predicate::enable_inplace_value_error_constructor` is true.

Complexity: Same as for the value_type or error_type constructor which accepts A1, A2, Args .... Constexpr, triviality and noexcept of underlying operations is propagated.

Guarantees: If an exception is thrown during the operation, the state of the Args is left indeterminate.

Last revised: January 17, 2019 at 21:24:36 UTC


Prev Up HomeNext