Agora Java API Reference for Android

Public Types | Public Member Functions | List of all members
agora::Optional< T > Class Template Reference

## Public Types
typedef T | value_type

## Public Member Functions
CONSTEXPR | Optional (const Optional &other)
CONSTEXPR | Optional (nullopt_t)
template<typename U >
| Optional (const Optional< U > &other)
CONSTEXPR | Optional (in_place_t, const T &_value)
template<class U >
CONSTEXPR | Optional (in_place_t, const U il[], const T &_value)
template<typename U >
CONSTEXPR | Optional (const U &value)
Optional & | operator= (const Optional &other)
Optional & | operator= (nullopt_t)
template<typename U >
Optional & | operator= (const U &value)
template<typename U >
Optional & | operator= (const Optional< U > &other)
const T * | operator-> () const
T * | operator-> ()
const T & | operator* () const
T & | operator* ()
CONSTEXPR | operator bool () const
CONSTEXPR bool | has_value () const
const T & | value () const
template<class U >
CONSTEXPR T | value_or (const U &default_value) const
void | swap (Optional &other)
void | reset ()
T & | emplace (const T &_value)
template<class U >
T & | emplace (const U il[], const T &_value)