proxygen
folly::Optional< Value >::StorageTriviallyDestructible Struct Reference

Public Member Functions

 StorageTriviallyDestructible ()
 
void clear ()
 

Public Attributes

union {
   char   emptyState
 
   Value   value
 
}; 
 
bool hasValue
 

Detailed Description

template<class Value>
struct folly::Optional< Value >::StorageTriviallyDestructible

Definition at line 386 of file Optional.h.

Constructor & Destructor Documentation

template<class Value>
folly::Optional< Value >::StorageTriviallyDestructible::StorageTriviallyDestructible ( )
inline

Definition at line 393 of file Optional.h.

Member Function Documentation

template<class Value>
void folly::Optional< Value >::StorageTriviallyDestructible::clear ( )
inline

Definition at line 394 of file Optional.h.

394  {
395  hasValue = false;
396  }

Member Data Documentation

union { ... }
template<class Value>
char folly::Optional< Value >::StorageTriviallyDestructible::emptyState

Definition at line 388 of file Optional.h.

template<class Value>
bool folly::Optional< Value >::StorageTriviallyDestructible::hasValue

Definition at line 391 of file Optional.h.

template<class Value>
Value folly::Optional< Value >::StorageTriviallyDestructible::value

Definition at line 389 of file Optional.h.


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