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 bool _has_value(Impl &&) noexcept Returns true if a value is present in the implementation passed in. Constexpr where possible. Requires: Always available. Complexity: Constant time. Guarantees: Never throws an exception. static void _ub(Impl &&) static bool _has_error(Impl &&) noexcept