LeechCraft  0.6.70-13729-g7046a9d2a7
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 123 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 130 of file monadplus.h.

◆ Mzero()

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

Definition at line 125 of file monadplus.h.


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