3rdParty/boost/1.78.0/libs/outcome/doc/html/reference/policies.html
Base class of most policy classes defining the narrow observer policies.
Special function which causes noticeable hard undefined behaviour.
Returns true if a value is present in the implementation passed in. Constexpr, never throws.
Returns true if an error is present in the implementation passed in. Constexpr, never throws.
Returns true if an exception is present in the implementation passed in. Constexpr, never throws.
Returns true if the error code in the implementation passed in has a domain or category matching that of POSIX errno. Constexpr, never throws.
Returns a reference to the value in the implementation passed in. Constexpr, never throws.
Returns a reference to the error in the implementation passed in. Constexpr, never throws.
Returns a reference to the exception in the implementation passed in. Constexpr, never throws.
Sets whether the implementation has a value. Constexpr, never throws.
Sets whether the implementation has an error. Constexpr, never throws.
Sets whether the implementation has an exception. Constexpr, never throws.
Sets whether the implementation’s error code has a domain or category matching that of POSIX errno. Constexpr, never throws.
Observer policy performing hard UB if no value is present. Constexpr, never throws.
Observer policy performing hard UB if no error is present. Constexpr, never throws.
Observer policy performing hard UB if no exception is present. Constexpr, never throws.
(>= Outcome v2.2.0) Hook invoked by the implicit constructors of basic_outcome.
(>= Outcome v2.2.0) Hook invoked by the implicit constructors of basic_outcome.
(>= Outcome v2.2.0) Hook invoked by the converting copy constructors of basic_outcome.
(>= Outcome v2.2.0) Hook invoked by the converting copy constructors of basic_outcome.
(>= Outcome v2.2.0) Hook invoked by the in-place constructors of basic_outcome.
(>= Outcome v2.2.0) Hook invoked by the converting move constructors of basic_outcome.
(>= Outcome v2.2.0) Hook invoked by the converting move constructors of basic_outcome.
(>= Outcome v2.2.0) Hook invoked by the implicit constructors of basic_result.
(>= Outcome v2.2.0) Hook invoked by the converting copy constructors of basic_result.
(>= Outcome v2.2.0) Hook invoked by the in-place constructors of basic_result.
(>= Outcome v2.2.0) Hook invoked by the converting move constructors of basic_result.
Policy class defining that hard undefined behaviour should occur on incorrect narrow and wide value, error or exception observation. Inherits publicly from base.
Policy class defining that EP ought to be rethrown if possible, then the ADL discovered free function outcome_throw_as_system_error_with_payload() should be called on incorrect wide value observation. Inherits publicly from base. Can only be used with basic_outcome.
Policy class defining that the ADL discovered free function outcome_throw_as_system_error_with_payload() should be called on incorrect wide value observation. Inherits publicly from base. Can only be used with basic_result.
Policy class defining that the ADL discovered free function rethrow_exception() should be called on incorrect wide value observation. Inherits publicly from base. Can only be used with basic_outcome.
Policy class defining that the ADL discovered free function rethrow_exception() should be called on incorrect wide value observation. Inherits publicly from base. Can only be used with basic_result.
Policy class defining that a static assertion should occur upon compilation of the wide value, error or exception observation. Inherits publicly from base.
Policy class defining that std::terminate() should be called on incorrect wide value, error or exception observation. Inherits publicly from base.
Policy class defining that bad_result_access_with<EC> should be thrown on incorrect wide value observation. Inherits publicly from base.