LeechCraft  0.6.70-9312-g4cc613a2df
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
LeechCraft::Util::InstanceFunctor< Either< L, R > > Struct Template Reference

#include "either.h"

Public Types

template<typename F >
using FmapResult_t = Either< L, std::result_of_t< F(R)>>
 

Static Public Member Functions

template<typename F >
static FmapResult_t< F > Apply (const Either< L, R > &either, const F &f)
 

Detailed Description

template<typename L, typename R>
struct LeechCraft::Util::InstanceFunctor< Either< L, R > >

Definition at line 208 of file either.h.

Member Typedef Documentation

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

Definition at line 211 of file either.h.

Member Function Documentation

template<typename L , typename R >
template<typename F >
static FmapResult_t<F> LeechCraft::Util::InstanceFunctor< Either< L, R > >::Apply ( const Either< L, R > &  either,
const F &  f 
)
inlinestatic

Definition at line 214 of file either.h.


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