void hook_result_copy_construction(T *, U &&) noexcept

One of the constructor hooks for basic_result<T, E, NoValuePolicy> , generally invoked by the converting copy constructors of basic_result (NOT the standard copy constructor). See each constructor’s documentation to see which specific hook it invokes.

Overridable: By Argument Dependent Lookup.

Requires: Nothing.

Namespace: OUTCOME_V2_NAMESPACE::hooks

Header: <outcome/basic_result.hpp>