Agora Server Gateway SDK C++ API Reference
Protected Member Functions | Protected Attributes | Friends | List of all members
agora::internal::OptionalBase< T > Class Template Reference

#include <AgoraOptional.h>

Protected Member Functions

CONSTEXPR OptionalBase ()
 
CONSTEXPR OptionalBase (const OptionalBase &other)
 
CONSTEXPR OptionalBase (in_place_t, const T &_value)
 
template<typename U >
 OptionalBase (const OptionalBase< U > &other)
 
 ~OptionalBase ()
 
OptionalBaseoperator= (const OptionalBase &other)
 
template<typename U >
void CopyAssign (const OptionalBase< U > &other)
 
template<typename U >
void InitOrAssign (const U &value)
 
void FreeIfNeeded ()
 

Protected Attributes

OptionalStorage< T > storage_
 

Friends

template<typename U >
class OptionalBase
 

Constructor & Destructor Documentation

◆ OptionalBase() [1/4]

template<typename T >
CONSTEXPR agora::internal::OptionalBase< T >::OptionalBase ( )
inlineprotected

◆ OptionalBase() [2/4]

template<typename T >
CONSTEXPR agora::internal::OptionalBase< T >::OptionalBase ( const OptionalBase< T > &  other)
inlineprotected

◆ OptionalBase() [3/4]

template<typename T >
CONSTEXPR agora::internal::OptionalBase< T >::OptionalBase ( in_place_t  ,
const T &  _value 
)
inlineexplicitprotected

◆ OptionalBase() [4/4]

template<typename T >
template<typename U >
agora::internal::OptionalBase< T >::OptionalBase ( const OptionalBase< U > &  other)
inlineexplicitprotected

◆ ~OptionalBase()

template<typename T >
agora::internal::OptionalBase< T >::~OptionalBase ( )
inlineprotected

Member Function Documentation

◆ CopyAssign()

template<typename T >
template<typename U >
void agora::internal::OptionalBase< T >::CopyAssign ( const OptionalBase< U > &  other)
inlineprotected

◆ FreeIfNeeded()

template<typename T >
void agora::internal::OptionalBase< T >::FreeIfNeeded ( )
inlineprotected

◆ InitOrAssign()

template<typename T >
template<typename U >
void agora::internal::OptionalBase< T >::InitOrAssign ( const U &  value)
inlineprotected

◆ operator=()

template<typename T >
OptionalBase & agora::internal::OptionalBase< T >::operator= ( const OptionalBase< T > &  other)
inlineprotected

Friends And Related Function Documentation

◆ OptionalBase

template<typename T >
template<typename U >
friend class OptionalBase
friend

Member Data Documentation

◆ storage_

template<typename T >
OptionalStorage<T> agora::internal::OptionalBase< T >::storage_
protected

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