Agora Server Gateway SDK C++ API Reference
|
#include <AgoraOptional.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
CONSTEXPR | Optional () |
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 () | |
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) |
Additional Inherited Members | |
Protected Member Functions inherited from agora::internal::OptionalBase< T > | |
CONSTEXPR | OptionalBase () |
CONSTEXPR | OptionalBase (const OptionalBase &other) |
CONSTEXPR | OptionalBase (in_place_t, const T &_value) |
template<typename U > | |
OptionalBase (const OptionalBase< U > &other) | |
~OptionalBase () | |
OptionalBase & | operator= (const OptionalBase &other) |
template<typename U > | |
void | CopyAssign (const OptionalBase< U > &other) |
template<typename U > | |
void | InitOrAssign (const U &value) |
void | FreeIfNeeded () |
Protected Attributes inherited from agora::internal::OptionalBase< T > | |
OptionalStorage< T > | storage_ |
typedef T agora::Optional< T >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |