mpc
Haskell-like feature supports in C++
mpc::function< Ret(Arg)> Struct Template Reference

Public Member Functions

template<class F >
requires std::invocable<std::decay_t<F>&, Arg>
and constexpr std::same_as< std::invoke_result_t< std::decay_t< F > &, Arg >, Ret > function (F &&f)
 
constexpr Ret operator() (const Arg &arg) const
 
constexpr Ret operator() (Arg &&arg) const
 
constexpr Ret operator% (const Arg &arg) const
 
constexpr Ret operator% (Arg &&arg) const
 

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