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

#include "either.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 LeechCraft::Util::InstanceMonad< Either< L, R > >

Definition at line 266 of file either.h.

Member Typedef Documentation

◆ BindResult_t

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

Definition at line 269 of file either.h.

Member Function Documentation

◆ Bind()

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

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