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

Go to the source code of this file.

Classes

struct  LeechCraft::Util::InstanceMonadPlus< T, SFINAE >
 
struct  LeechCraft::Util::InstanceMonadPlus< boost::optional< T > >
 

Namespaces

 LeechCraft
 
 LeechCraft::Util
 
 LeechCraft::Util::detail
 

Functions

template<typename T >
constexpr bool LeechCraft::Util::detail::IsMonadPlusImpl (int, typename InstanceMonadPlus< T >::UndefinedTag *=nullptr)
 
template<typename T >
constexpr bool LeechCraft::Util::detail::IsMonadPlusImpl (float)
 
template<typename T >
constexpr bool LeechCraft::Util::IsMonadPlus ()
 
template<typename MP >
MP LeechCraft::Util::Mzero ()
 
template<typename MP >
auto LeechCraft::Util::operator+ (const MP &m1, const MP &m2) -> decltype(Mplus(m1)(m2))
 

Variables

struct {
LeechCraft::Util::Mplus
 
struct {
LeechCraft::Util::Msum