hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Public Types | Static Public Member Functions | List of all members
hobbes::maybe< T > Struct Template Reference
Collaboration diagram for hobbes::maybe< T >:
Collaboration graph

Public Types

typedef variant< unit, T > ty
 

Static Public Member Functions

static const maybe< T >::tynothing ()
 
static const maybe< T >::tyjust (const T &x)
 

Member Typedef Documentation

◆ ty

template<typename T >
typedef variant<unit, T> hobbes::maybe< T >::ty

Member Function Documentation

◆ just()

template<typename T >
static const maybe<T>::ty* hobbes::maybe< T >::just ( const T &  x)
inlinestatic

◆ nothing()

template<typename T >
static const maybe<T>::ty* hobbes::maybe< T >::nothing ( )
inlinestatic

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