xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
XrdCl::Optional< T >::Storage Union Reference
Collaboration diagram for XrdCl::Optional< T >::Storage:
Collaboration graph
[legend]

Public Member Functions

 Storage ()
 Default constructor. More...
 
 ~Storage ()
 

Public Attributes

value
 

Detailed Description

template<typename T>
union XrdCl::Optional< T >::Storage

we use union as this is the only way to obtain memory with correct alignment and don't actually construct the object

Constructor & Destructor Documentation

template<typename T>
XrdCl::Optional< T >::Storage::Storage ( )
inline

Default constructor.

template<typename T>
XrdCl::Optional< T >::Storage::~Storage ( )
inline

Member Data Documentation

template<typename T>
T XrdCl::Optional< T >::Storage::value

value of the optional variable, if the variable is optional is remains uninitialized

Referenced by XrdCl::Optional< T >::operator*(), XrdCl::Optional< T >::operator=(), XrdCl::Optional< T >::Optional(), and XrdCl::Optional< T >::~Optional().


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