File expected.hpp

Defines

expected_lite_MAJOR
expected_lite_MINOR
expected_lite_PATCH
expected_lite_VERSION
expected_STRINGIFY(x)
expected_STRINGIFY_(x)
nsel_EXPECTED_DEFAULT
nsel_EXPECTED_NONSTD
nsel_EXPECTED_STD
expected_HAVE_TWEAK_HEADER
nsel_CONFIG_SELECT_EXPECTED
nsel_P0323R
nsel_P2505R
nsel_CONFIG_NO_EXCEPTIONS
nsel_CONFIG_NO_EXCEPTIONS_SEH
nsel_CPLUSPLUS
nsel_CPP98_OR_GREATER
nsel_CPP11_OR_GREATER
nsel_CPP14_OR_GREATER
nsel_CPP17_OR_GREATER
nsel_CPP20_OR_GREATER
nsel_CPP23_OR_GREATER
nsel_HAVE_STD_EXPECTED
nsel_USES_STD_EXPECTED
nonstd_lite_HAVE_IN_PLACE_TYPES
nonstd_lite_in_place_t(T)
nonstd_lite_in_place_type_t(T)
nonstd_lite_in_place_index_t(K)
nonstd_lite_in_place(T)
nonstd_lite_in_place_type(T)
nonstd_lite_in_place_index(K)
nsel_constexpr
nsel_constexpr14
nsel_inline17
nsel_COMPILER_MSVC_VER
nsel_COMPILER_MSVC_VERSION
nsel_COMPILER_VERSION(major, minor, patch)
nsel_COMPILER_CLANG_VERSION
nsel_COMPILER_GNUC_VERSION
nsel_REQUIRES_0(...)
nsel_REQUIRES_T(...)
nsel_REQUIRES_R(R, ...)
nsel_REQUIRES_A(...)
nsel_DISABLE_MSVC_WARNINGS(codes)
nsel_RESTORE_WARNINGS()
nsel_RESTORE_MSVC_WARNINGS()
nsel_HAS_CPP0X
nsel_CPP17_000
nsel_HAVE_DEPRECATED
nsel_deprecated(msg)

Functions

template<class T>
inline in_place_t in_place(detail::in_place_type_tag<T> = detail::in_place_type_tag<T>())
template<std::size_t K>
inline in_place_t in_place(detail::in_place_index_tag<K> = detail::in_place_index_tag<K>())
template<class T>
inline in_place_t in_place_type(detail::in_place_type_tag<T> = detail::in_place_type_tag<T>())
template<std::size_t K>
inline in_place_t in_place_index(detail::in_place_index_tag<K> = detail::in_place_index_tag<K>())
nsel_DISABLE_MSVC_WARNINGS (26409) namespace nonstd
template<typename T, typename E>
struct hash<nonstd::expected<T, E>>

Public Types

using result_type = std::size_t
using argument_type = nonstd::expected<T, E>

Public Functions

inline constexpr result_type operator()(argument_type const &arg) const
template<typename T, typename E>
struct hash<nonstd::expected<T&, E>>

Public Types

using result_type = std::size_t
using argument_type = nonstd::expected<T&, E>

Public Functions

inline constexpr result_type operator()(argument_type const &arg) const
template<typename E>
struct hash<nonstd::expected<void, E>>
namespace nonstd

Functions

template<class T>
inline in_place_t in_place(detail::in_place_type_tag<T> = detail::in_place_type_tag<T>())
template<std::size_t K>
inline in_place_t in_place(detail::in_place_index_tag<K> = detail::in_place_index_tag<K>())
template<class T>
inline in_place_t in_place_type(detail::in_place_type_tag<T> = detail::in_place_type_tag<T>())
template<std::size_t K>
inline in_place_t in_place_index(detail::in_place_index_tag<K> = detail::in_place_index_tag<K>())
struct in_place_t
namespace detail
template<class T>
struct in_place_type_tag
template<std::size_t K>
struct in_place_index_tag
namespace std
template<typename T, typename E> expected< T, E > >

Public Types

using result_type = std::size_t
using argument_type = nonstd::expected<T, E>

Public Functions

inline constexpr result_type operator()(argument_type const &arg) const
template<typename T, typename E> expected< T &, E > >

Public Types

using result_type = std::size_t
using argument_type = nonstd::expected<T&, E>

Public Functions

inline constexpr result_type operator()(argument_type const &arg) const
template<typename E> expected< void, E > >