LeechCraft  0.6.70-6645-gcd10d7e
Modular cross-platform feature rich live environment.
functor.h File Reference
#include <boost/optional.hpp>
#include "oldcppkludges.h"
+ Include dependency graph for functor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LeechCraft::Util::InstanceFunctor< T >
 
struct  LeechCraft::Util::InstanceFunctor< boost::optional< T > >
 

Namespaces

 LeechCraft
 
 LeechCraft::Util
 

Typedefs

template<typename T , typename F >
using LeechCraft::Util::FmapResult_t = typename InstanceFunctor< T >::template FmapResult_t< F >
 

Functions

template<typename T , typename F >
FmapResult_t< T, F > LeechCraft::Util::Fmap (const T &t, const F &f)
 
template<typename MF , typename F >
auto LeechCraft::Util::operator* (const F &f, const MF &value) -> decltype(Fmap(value, f))