void hook_outcome_copy_construction(T *, U &&) noexcept

One of the constructor hooks for basic_outcome<T, EC, EP, NoValuePolicy> , generally invoked by the converting copy constructors of basic_outcome (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_outcome.hpp>