LeechCraft  0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
LC::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 LC::Util::InstanceMonadPlus< boost::optional< T > >

Definition at line 109 of file monadplus.h.

Member Function Documentation

◆ Mplus()

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

Definition at line 116 of file monadplus.h.

◆ Mzero()

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

Definition at line 111 of file monadplus.h.


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