Observer Policies
`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. »
`static void on_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. Requires: Always available. Guarantees: Never throws an exception. »
`static void on_result_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept`
One of the constructor hooks for basic_result<T, E, NoValuePolicy> , generally invoked by the in-place constructors of basic_result. See each constructor’s documentation to see which specific hook it invokes. Requires: Always available. Guarantees: Never throws an exception. »
`static void on_result_move_construction(T *, U &&) noexcept`
One of the constructor hooks for basic_result<T, E, NoValuePolicy> , generally invoked by the converting move constructors of basic_result (NOT the standard move constructor). See each constructor’s documentation to see which specific hook it invokes. Requires: Always available. Guarantees: Never throws an exception. »