basic_result(A1 &&, A2 &&, Args …) - Boost.Outcome documentation

# `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