nuklei::nullable< T > Struct Template Reference

Obsolete – use boost::optional and boost::none instead. More...

#include <nullable.h>

Public Types

typedef std::pair< bool, T > container_t
 

Public Member Functions

 nullable (const undefined &)
 
 nullable (const T &element)
 
 nullable (const nullable &n)
 
void assertConsistency () const
 
nullableoperator= (const T &element)
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 
bool isDefined () const
 
T & get ()
 
const T & get () const
 
void set (const T &element)
 
void clear ()
 

Friends

class NUKLEI_SERIALIZATION_FRIEND_CLASSNAME
 

Detailed Description

template<typename T>
struct nuklei::nullable< T >

Obsolete – use boost::optional and boost::none instead.

Definition at line 25 of file nullable.h.


The documentation for this struct was generated from the following file:
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:10.