M5Utility 0.0.2 git rev:5c1a751
Loading...
Searching...
No Matches
m5::stl::unexpected< E > Class Template Reference

Public Member Functions

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 &
 
TL_EXPECTED_11_CONSTEXPR E & value () &
 
TL_EXPECTED_11_CONSTEXPR E && value () &&
 
constexpr const E && value () const &&