Agora Server Gateway SDK C++ API Reference
Public Member Functions | List of all members
agora::internal::OptionalStorage< T > Struct Template Reference

#include <AgoraOptional.h>

Public Member Functions

CONSTEXPR OptionalStorage (in_place_t in_place, const T &_value)
 
 OptionalStorage ()
 
 OptionalStorage (const OptionalStorage &other)
 
- Public Member Functions inherited from agora::internal::OptionalStorageBase< T >
CONSTEXPR OptionalStorageBase ()
 
CONSTEXPR OptionalStorageBase (in_place_t, const T &_value)
 
 ~OptionalStorageBase ()
 
void Init (const T &_value)
 

Additional Inherited Members

- Public Attributes inherited from agora::internal::OptionalStorageBase< T >
bool is_populated_
 
union {
   char   empty_
 
   T   value_
 
}; 
 

Constructor & Destructor Documentation

◆ OptionalStorage() [1/3]

template<typename T >
CONSTEXPR agora::internal::OptionalStorage< T >::OptionalStorage ( in_place_t  in_place,
const T &  _value 
)
inlineexplicit

◆ OptionalStorage() [2/3]

template<typename T >
agora::internal::OptionalStorage< T >::OptionalStorage ( )
inline

◆ OptionalStorage() [3/3]

template<typename T >
agora::internal::OptionalStorage< T >::OptionalStorage ( const OptionalStorage< T > &  other)
inline

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