Boost C++ Libraries 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

explicit basic_result(in_place_type_t<value_type_if_enabled>, Args ...)

Explicit inplace value constructor. Calls void hook_result_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept with this, in_place_type<value_type> and Args ....

Requires: predicate::enable_inplace_value_constructor<Args ...> is true.

Complexity: Same as for the value_type constructor which accepts 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 21, 2019 at 18:00:41 UTC

Prev Up HomeNext