LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
LC::Util::InstanceMonad< Either< L, R > > Struct Template Reference

#include "monad.h"

Public Types

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

Static Public Member Functions

template<typename F >
static BindResult_t< F > Bind (const Either< L, R > &value, const F &f)
 

Detailed Description

template<typename L, typename R>
struct LC::Util::InstanceMonad< Either< L, R > >

Definition at line 118 of file monad.h.

Member Typedef Documentation

◆ BindResult_t

template<typename L , typename R >
template<typename F >
using LC::Util::InstanceMonad< Either< L, R > >::BindResult_t = std::result_of_t<F (R)>

Definition at line 121 of file monad.h.

Member Function Documentation

◆ Bind()

template<typename L , typename R >
template<typename F >
static BindResult_t<F> LC::Util::InstanceMonad< Either< L, R > >::Bind ( const Either< L, R > &  value,
const F &  f 
)
inlinestatic

Definition at line 124 of file monad.h.


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