LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
LC::Util::InstanceMonadPlus< std::optional< T > > Struct Template Reference

#include "monadplus.h"

Static Public Member Functions

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

Detailed Description

template<typename T>
struct LC::Util::InstanceMonadPlus< std::optional< T > >

Definition at line 99 of file monadplus.h.

Member Function Documentation

◆ Mplus()

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

Definition at line 106 of file monadplus.h.

◆ Mzero()

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

Definition at line 101 of file monadplus.h.


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