Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
gfxstream::unexpected< E > Class Template Reference

#include <expected.h>

Public Member Functions

constexpr unexpected (const unexpected &)=default
 
template<typename T >
constexpr unexpected (T &&e)
 
template<class... Args, ENABLE_IF(std::is_constructible< E, Args &&... >::value) >
constexpr unexpected (std::in_place_t, Args &&... args)
 
constexpr const E & value () const &noexcept
 
constexpr E & value () &noexcept
 
constexpr const E && value () const &&noexcept
 
constexpr E && value () &&noexcept
 

Private Attributes

mError
 

Constructor & Destructor Documentation

◆ unexpected() [1/3]

template<typename E >
constexpr gfxstream::unexpected< E >::unexpected ( const unexpected< E > &  )
constexprdefault

◆ unexpected() [2/3]

template<typename E >
template<typename T >
constexpr gfxstream::unexpected< E >::unexpected ( T &&  e)
inlineexplicitconstexpr

◆ unexpected() [3/3]

template<typename E >
template<class... Args, ENABLE_IF(std::is_constructible< E, Args &&... >::value) >
constexpr gfxstream::unexpected< E >::unexpected ( std::in_place_t  ,
Args &&...  args 
)
inlineexplicitconstexpr

Member Function Documentation

◆ value() [1/4]

template<typename E >
constexpr E && gfxstream::unexpected< E >::value ( ) &&
inlineconstexprnoexcept

◆ value() [2/4]

template<typename E >
constexpr E & gfxstream::unexpected< E >::value ( ) &
inlineconstexprnoexcept

◆ value() [3/4]

template<typename E >
constexpr const E && gfxstream::unexpected< E >::value ( ) const &&
inlineconstexprnoexcept

◆ value() [4/4]

template<typename E >
constexpr const E & gfxstream::unexpected< E >::value ( ) const &
inlineconstexprnoexcept

Member Data Documentation

◆ mError

template<typename E >
E gfxstream::unexpected< E >::mError
private

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