LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
LeechCraft::Util::InstanceMonadPlus< boost::optional< T > > Struct Template Reference

#include "monadplus.h"

Static Public Member Functions

static boost::optional< T > Mzero ()
 
static boost::optional< T > Mplus (const boost::optional< T > &t1, const boost::optional< T > &t2)
 

Detailed Description

template<typename T>
struct LeechCraft::Util::InstanceMonadPlus< boost::optional< T > >

Definition at line 108 of file monadplus.h.

Member Function Documentation

◆ Mplus()

template<typename T >
static boost::optional<T> LeechCraft::Util::InstanceMonadPlus< boost::optional< T > >::Mplus ( const boost::optional< T > &  t1,
const boost::optional< T > &  t2 
)
inlinestatic

Definition at line 115 of file monadplus.h.

◆ Mzero()

template<typename T >
static boost::optional<T> LeechCraft::Util::InstanceMonadPlus< boost::optional< T > >::Mzero ( )
inlinestatic

Definition at line 110 of file monadplus.h.


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