WPILibC++ 2025.1.1
|
#include <wpi/expected>
Additional Inherited Members | ||
Public Member Functions inherited from wpi::detail_expected::expected_operations_base< T, E > | ||
template<class... Args> | ||
void | construct (Args &&...args) noexcept | |
template<class Rhs > | ||
void | construct_with (Rhs &&rhs) noexcept | |
template<class... Args> | ||
void | construct_error (Args &&...args) noexcept | |
void | assign (const expected_operations_base &rhs) noexcept | |
void | assign (expected_operations_base &&rhs) noexcept | |
template<class Rhs > | ||
void | assign_common (Rhs &&rhs) | |
bool | has_value () const | |
WPI_EXPECTED_11_CONSTEXPR T & | get () & | |
constexpr const T & | get () const & | |
WPI_EXPECTED_11_CONSTEXPR T && | get () && | |
constexpr const T && | get () const && | |
WPI_EXPECTED_11_CONSTEXPR unexpected< E > & | geterr () & | |
constexpr const unexpected< E > & | geterr () const & | |
WPI_EXPECTED_11_CONSTEXPR unexpected< E > && | geterr () && | |
constexpr const unexpected< E > && | geterr () const && | |
WPI_EXPECTED_11_CONSTEXPR void | destroy_val () | |
Public Member Functions inherited from wpi::detail_expected::expected_storage_base< T, E, bool, bool > | ||
constexpr | expected_storage_base () | |
constexpr | expected_storage_base (no_init_t) | |
template<class... Args, detail_expected::enable_if_t< std::is_constructible< T, Args &&... >::value > * = nullptr> | ||
constexpr | expected_storage_base (in_place_t, Args &&...args) | |
template<class U , class... Args, detail_expected::enable_if_t< std::is_constructible< T, std::initializer_list< U > &, Args &&... >::value > * = nullptr> | ||
constexpr | expected_storage_base (in_place_t, std::initializer_list< U > il, Args &&...args) | |
template<class... Args, detail_expected::enable_if_t< std::is_constructible< E, Args &&... >::value > * = nullptr> | ||
constexpr | expected_storage_base (unexpect_t, Args &&...args) | |
template<class U , class... Args, detail_expected::enable_if_t< std::is_constructible< E, std::initializer_list< U > &, Args &&... >::value > * = nullptr> | ||
constexpr | expected_storage_base (unexpect_t, std::initializer_list< U > il, Args &&...args) | |
~expected_storage_base () | ||
Public Attributes inherited from wpi::detail_expected::expected_storage_base< T, E, bool, bool > | ||
union { | ||
T m_val | ||
unexpected< E > m_unexpect | ||
char m_no_init | ||
}; | ||
bool | m_has_val | |