mpc
Haskell-like feature supports in C++
mpc::states::detail::put_op< ST > Struct Template Reference

#include <class.hpp>

Classes

struct  closure
 

Public Member Functions

template<class T >
constexpr auto operator() (T &&t) const noexcept(noexcept(mpc::state< ST >(partial(closure{}, std::forward< T >(t))))) -> decltype(mpc::state< ST >(partial(closure{}, std::forward< T >(t))))
 

Detailed Description

template<class ST>
struct mpc::states::detail::put_op< ST >

put :: s -> m () put s = state (_ -> ((), s))


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