WPILibC++ 2024.3.2
wpi::unexpected< E > Class Template Reference

Public Member Functions

 unexpected ()=delete
 
constexpr unexpected (const E &e)
 
constexpr unexpected (E &&e)
 
template<class... Args, typename std::enable_if< std::is_constructible< E, Args &&... >::value >::type * = nullptr>
constexpr unexpected (Args &&...args)
 
template<class U , class... Args, typename std::enable_if< std::is_constructible< E, std::initializer_list< U > &, Args &&... >::value >::type * = nullptr>
constexpr unexpected (std::initializer_list< U > l, Args &&...args)
 
constexpr const E & value () const &
 
WPI_EXPECTED_11_CONSTEXPR E & value () &
 
WPI_EXPECTED_11_CONSTEXPR E && value () &&
 
constexpr const E && value () const &&
 

Constructor & Destructor Documentation

◆ unexpected() [1/5]

template<class E >
wpi::unexpected< E >::unexpected ( )
delete

◆ unexpected() [2/5]

template<class E >
constexpr wpi::unexpected< E >::unexpected ( const E &  e)
inlineexplicitconstexpr

◆ unexpected() [3/5]

template<class E >
constexpr wpi::unexpected< E >::unexpected ( E &&  e)
inlineexplicitconstexpr

◆ unexpected() [4/5]

template<class E >
template<class... Args, typename std::enable_if< std::is_constructible< E, Args &&... >::value >::type * = nullptr>
constexpr wpi::unexpected< E >::unexpected ( Args &&...  args)
inlineexplicitconstexpr

◆ unexpected() [5/5]

template<class E >
template<class U , class... Args, typename std::enable_if< std::is_constructible< E, std::initializer_list< U > &, Args &&... >::value >::type * = nullptr>
constexpr wpi::unexpected< E >::unexpected ( std::initializer_list< U >  l,
Args &&...  args 
)
inlineexplicitconstexpr

Member Function Documentation

◆ value() [1/4]

template<class E >
WPI_EXPECTED_11_CONSTEXPR E & wpi::unexpected< E >::value ( ) &
inline

◆ value() [2/4]

template<class E >
WPI_EXPECTED_11_CONSTEXPR E && wpi::unexpected< E >::value ( ) &&
inline

◆ value() [3/4]

template<class E >
constexpr const E & wpi::unexpected< E >::value ( ) const &
inlineconstexpr

◆ value() [4/4]

template<class E >
constexpr const E && wpi::unexpected< E >::value ( ) const &&
inlineconstexpr

The documentation for this class was generated from the following file: