Tiramisu Compiler
optional< T > Class Template Reference

#include <utils.h>

Public Member Functions

 optional ()
 
 optional (T value)
 
 operator bool () const
 
get ()
 

Detailed Description

template<typename T>
class optional< T >

Definition at line 276 of file utils.h.

Constructor & Destructor Documentation

template<typename T >
optional< T >::optional ( )
inline

Definition at line 282 of file utils.h.

template<typename T >
optional< T >::optional ( value)
inline

Definition at line 283 of file utils.h.

Member Function Documentation

template<typename T >
T optional< T >::get ( )
inline

Definition at line 290 of file utils.h.

template<typename T >
optional< T >::operator bool ( ) const
inlineexplicit

Definition at line 285 of file utils.h.


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