Navigation :
Prerequisites
Build and install
Review of Error Handling Frameworks
Motivation
Future ABI stability guarantees
Tutorial
Recipes
Experimental
API reference
-
Macros
-
Concepts
-
Converters
-
Traits
-
Policies
--
`base`
--- `static void _ub(Impl &&)`
--- `static bool _has_value(Impl &&) noexcept`
--- `static bool _has_error(Impl &&) noexcept`
--- `static bool _has_exception(Impl &&) noexcept`
--- `static bool _has_error_is_errno(Impl &&) noexcept`
--- `static auto &&_value(Impl &&) noexcept`
--- `static auto &&_error(Impl &&) noexcept`
--- `static auto &&_exception(Impl &&) noexcept`
--- `static void _set_has_value(Impl &&, bool) noexcept`
--- `static void _set_has_error(Impl &&, bool) noexcept`
--- `static void _set_has_exception(Impl &&, bool) noexcept`
--- `static void _set_has_exception(Impl &&, bool) noexcept`
--- `static void narrow_value_check(Impl &&) noexcept`
--- `static void narrow_error_check(Impl &&) noexcept`
--- `static void narrow_exception_check(Impl &&) noexcept`
--- `static void on_outcome_construction(T *, U &&) noexcept`
--- `static void on_outcome_construction(T *, U &&, V &&) noexcept`
--- `static void on_outcome_copy_construction(T *, U &&) noexcept`
--- `static void on_outcome_copy_construction(T *, U &&, V &&) noexcept`
--- `static void on_outcome_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept`
--- `static void on_outcome_move_construction(T *, U &&) noexcept`
--- `static void on_outcome_move_construction(T *, U &&, V &&) noexcept`
--- `static void on_result_construction(T *, U &&) noexcept`
--- `static void on_result_copy_construction(T *, U &&) noexcept`
--- `static void on_result_in_place_construction(T *, in_place_type_t<U>, Args &&...) noexcept`
--- `static void on_result_move_construction(T *, U &&) noexcept`
-- `all_narrow`
-- `error_code_throw_as_system_error<T, EC, EP>`
-- `error_code_throw_as_system_error<T, EC, void>`
-- `exception_ptr_rethrow<T, EC, EP>`
-- `exception_ptr_rethrow<T, EC, void>`
-- `fail_to_compile_observers`
-- `terminate`
-- `throw_bad_result_access<EC>`
-
Types
-
Aliases
-
Functions
Frequently asked questions
Videos
Changelog
History
static void on_outcome_move_construction(T *, U &&, V &&) noexcept
One of the constructor hooks for basic_outcome<T, EC, EP, NoValuePolicy>
, generally invoked by the converting move constructors of basic_outcome
(NOT the standard move constructor) which consume two arguments. See each constructor’s documentation to see which specific hook it invokes.
Requires : Always available.
Guarantees : Never throws an exception.