Agora Server Gateway SDK C++ API Reference
Classes | Namespaces | Macros | Functions | Variables
AgoraOptional.h File Reference
#include <utility>

Go to the source code of this file.

Classes

struct  agora::in_place_t
 
struct  agora::nullopt_t
 
struct  agora::internal::OptionalStorageBase< T >
 
struct  agora::internal::OptionalStorage< T >
 
class  agora::internal::OptionalBase< T >
 
struct  agora::internal::CopyConstructible< is_copy_constructible >
 
struct  agora::internal::CopyConstructible< false >
 
struct  agora::internal::MoveConstructible< is_move_constructible >
 
struct  agora::internal::MoveConstructible< false >
 
struct  agora::internal::CopyAssignable< is_copy_assignable >
 
struct  agora::internal::CopyAssignable< false >
 
struct  agora::internal::MoveAssignable< is_move_assignable >
 
struct  agora::internal::MoveAssignable< false >
 
class  agora::Optional< T >
 

Namespaces

namespace  agora
 
namespace  agora::internal
 

Macros

#define CONSTEXPR
 
#define NOEXCEPT(Expr)
 
#define OPTIONAL_DECLSPEC_EMPTY_BASES
 

Functions

const nullopt_t agora::nullopt (0)
 
template<class T , class U >
bool agora::operator== (const Optional< T > &lhs, const Optional< U > &rhs)
 
template<class T , class U >
bool agora::operator!= (const Optional< T > &lhs, const Optional< U > &rhs)
 
template<class T , class U >
bool agora::operator< (const Optional< T > &lhs, const Optional< U > &rhs)
 
template<class T , class U >
bool agora::operator<= (const Optional< T > &lhs, const Optional< U > &rhs)
 
template<class T , class U >
bool agora::operator> (const Optional< T > &lhs, const Optional< U > &rhs)
 
template<class T , class U >
bool agora::operator>= (const Optional< T > &lhs, const Optional< U > &rhs)
 
template<class T >
CONSTEXPR bool agora::operator== (const Optional< T > &opt, nullopt_t)
 
template<class T >
CONSTEXPR bool agora::operator== (nullopt_t, const Optional< T > &opt)
 
template<class T >
CONSTEXPR bool agora::operator!= (const Optional< T > &opt, nullopt_t)
 
template<class T >
CONSTEXPR bool agora::operator!= (nullopt_t, const Optional< T > &opt)
 
template<class T >
CONSTEXPR bool agora::operator< (const Optional< T > &opt, nullopt_t)
 
template<class T >
CONSTEXPR bool agora::operator< (nullopt_t, const Optional< T > &opt)
 
template<class T >
CONSTEXPR bool agora::operator<= (const Optional< T > &opt, nullopt_t)
 
template<class T >
CONSTEXPR bool agora::operator<= (nullopt_t, const Optional< T > &opt)
 
template<class T >
CONSTEXPR bool agora::operator> (const Optional< T > &opt, nullopt_t)
 
template<class T >
CONSTEXPR bool agora::operator> (nullopt_t, const Optional< T > &opt)
 
template<class T >
CONSTEXPR bool agora::operator>= (const Optional< T > &opt, nullopt_t)
 
template<class T >
CONSTEXPR bool agora::operator>= (nullopt_t, const Optional< T > &opt)
 
template<class T , class U >
CONSTEXPR bool agora::operator== (const Optional< T > &opt, const U &value)
 
template<class T , class U >
CONSTEXPR bool agora::operator== (const U &value, const Optional< T > &opt)
 
template<class T , class U >
CONSTEXPR bool agora::operator!= (const Optional< T > &opt, const U &value)
 
template<class T , class U >
CONSTEXPR bool agora::operator!= (const U &value, const Optional< T > &opt)
 
template<class T , class U >
CONSTEXPR bool agora::operator< (const Optional< T > &opt, const U &value)
 
template<class T , class U >
CONSTEXPR bool agora::operator< (const U &value, const Optional< T > &opt)
 
template<class T , class U >
CONSTEXPR bool agora::operator<= (const Optional< T > &opt, const U &value)
 
template<class T , class U >
CONSTEXPR bool agora::operator<= (const U &value, const Optional< T > &opt)
 
template<class T , class U >
CONSTEXPR bool agora::operator> (const Optional< T > &opt, const U &value)
 
template<class T , class U >
CONSTEXPR bool agora::operator> (const U &value, const Optional< T > &opt)
 
template<class T , class U >
CONSTEXPR bool agora::operator>= (const Optional< T > &opt, const U &value)
 
template<class T , class U >
CONSTEXPR bool agora::operator>= (const U &value, const Optional< T > &opt)
 
template<class T >
void agora::swap (Optional< T > &lhs, Optional< T > &rhs)
 

Variables

const in_place_t agora::in_place = {}
 

Macro Definition Documentation

◆ CONSTEXPR

#define CONSTEXPR

◆ NOEXCEPT

#define NOEXCEPT (   Expr)

◆ OPTIONAL_DECLSPEC_EMPTY_BASES

#define OPTIONAL_DECLSPEC_EMPTY_BASES