basic_result(A1 &&, A2 &&, Args ...)
Implicit inplace value or error constructor. Delegates to an appropriate explicit inplace constructor depending on input.
Complexity: Same as for the
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.