LeechCraft  0.6.70-13729-g7046a9d2a7
Modular cross-platform feature rich live environment.
LC::Util::InstanceMonad< boost::optional< T > > Struct Template Reference

#include "monad.h"

Public Types

template<typename F >
using BindResult_t = std::result_of_t< F(T)>
 

Static Public Member Functions

template<typename F >
static BindResult_t< F > Bind (const boost::optional< T > &value, const F &f)
 

Detailed Description

template<typename T>
struct LC::Util::InstanceMonad< boost::optional< T > >

Definition at line 111 of file monad.h.

Member Typedef Documentation

◆ BindResult_t

template<typename T >
template<typename F >
using LC::Util::InstanceMonad< boost::optional< T > >::BindResult_t = std::result_of_t<F (T)>

Definition at line 114 of file monad.h.

Member Function Documentation

◆ Bind()

template<typename T >
template<typename F >
static BindResult_t<F> LC::Util::InstanceMonad< boost::optional< T > >::Bind ( const boost::optional< T > &  value,
const F &  f 
)
inlinestatic

Definition at line 117 of file monad.h.

References LC::Util::oral::sph::f.


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