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_outcome(A1 &&, A2 &&, Args ...)

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

Requires: predicate::enable_inplace_value_error_exception_constructor` is true.

Complexity: Same as for the value_type or error_type or exception_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 31, 2019 at 01:07:35 UTC


Prev Up HomeNext