void hook_result_construction(T *, U &&) noexcept
One of the constructor hooks for basic_result<T, E, NoValuePolicy>
, generally invoked by the implicit constructors of basic_result
. See each constructor’s documentation to see which specific hook it invokes.
Overridable: By Argument Dependent Lookup.
Requires: Nothing.
Namespace: BOOST_OUTCOME_V2_NAMESPACE::hooks
Header: <boost/outcome/basic_result.hpp>