static void on_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.
Requires: Always available.
Guarantees: Never throws an exception.