Hooks

uint16_t spare_storage(const basic_resultbasic_outcome *) noexcept
Returns the sixteen bits of spare storage in the specified result or outcome.

void hook_outcome_construction(T *, U &&) noexcept
ADL discovered free function hook invoked by the implicit constructors of
basic_outcome
. 
void hook_outcome_construction(T *, U &&, V &&) noexcept
ADL discovered free function hook invoked by the implicit constructors of
basic_outcome
. 
void hook_outcome_copy_construction(T *, U &&) noexcept
ADL discovered free function hook invoked by the converting copy constructors of
basic_outcome
. 
void hook_outcome_copy_construction(T *, U &&, V &&) noexcept
ADL discovered free function hook invoked by the converting copy constructors of
basic_outcome
. 
void hook_outcome_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept
ADL discovered free function hook invoked by the inplace constructors of
basic_outcome
. 
void hook_outcome_move_construction(T *, U &&) noexcept
ADL discovered free function hook invoked by the converting move constructors of
basic_outcome
. 
void hook_outcome_move_construction(T *, U &&, V &&) noexcept
ADL discovered free function hook invoked by the converting move constructors of
basic_outcome
. 
void hook_result_construction(T *, U &&) noexcept
ADL discovered free function hook invoked by the implicit constructors of
basic_result
. 
void hook_result_copy_construction(T *, U &&) noexcept
ADL discovered free function hook invoked by the converting copy constructors of
basic_result
. 
void hook_result_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept
ADL discovered free function hook invoked by the inplace constructors of
basic_result
. 
void hook_result_move_construction(T *, U &&) noexcept
ADL discovered free function hook invoked by the converting move constructors of
basic_result
. 
void override_outcome_exception(basic_outcome<T, EC, EP, NoValuePolicy> *, U &&) noexcept
Overrides the exception to something other than what was constructed.

void set_spare_storage(basic_resultbasic_outcome *, uint16_t) noexcept
Sets the sixteen bits of spare storage in the specified result or outcome.