Fast CDR  Version 2.3.0
Fast CDR
Loading...
Searching...
No Matches
optional_storage< T, typename std::enable_if< std::is_trivially_destructible< T >::value >::type > Struct Template Reference

#include <optional.hpp>

Public Member Functions

 optional_storage ()
 
 ~optional_storage ()=default
 
 optional_storage ()
 
 ~optional_storage ()
 

Public Attributes

union eprosima::fastcdr::detail::optional_storage< T, typename std::enable_if< std::is_trivially_destructible< T >::value >::type >:: { ... }  
 
bool engaged_ { false }
 
char dummy_
 
val_
 
union { 
 
   char   dummy_ 
 
   T   val_ 
 
};  
 
bool engaged_
 

Constructor & Destructor Documentation

◆ optional_storage() [1/2]

template<class T>
optional_storage ( )
inline

◆ ~optional_storage() [1/2]

template<class T>
~optional_storage ( )
default

◆ optional_storage() [2/2]

optional_storage ( )
inline

◆ ~optional_storage() [2/2]

~optional_storage ( )
inline

Member Data Documentation

◆ []

union eprosima::fastcdr::detail::optional_storage< T, typename std::enable_if< std::is_trivially_destructible< T >::value >::type > { ... }

◆ [union]

union { ... }

◆ dummy_ [1/2]

char dummy_

◆ dummy_ [2/2]

template<class T>
char dummy_

◆ engaged_ [1/2]

bool engaged_

◆ engaged_ [2/2]

template<class T>
bool engaged_ { false }

◆ val_ [1/2]

T val_

◆ val_ [2/2]

template<class T>
T val_

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