#include <fn.hpp>
Public Types | |
using | traits = impl::memoizer_detail::lambda_traits< F > |
using | Arg = typename std::remove_reference< typename traits::arg >::type |
using | Ret = typename traits::ret |
using | Cache = std::map< Arg, Ret > |
Public Member Functions | |
const Ret & | operator() (const Arg &arg) const |
Public Attributes | |
F | fn |
Cache | m |
using rangeless::fn::impl::memoizer< F >::Arg = typename std::remove_reference<typename traits::arg>::type |
using rangeless::fn::impl::memoizer< F >::Cache = std::map<Arg, Ret> |
using rangeless::fn::impl::memoizer< F >::Ret = typename traits::ret |
using rangeless::fn::impl::memoizer< F >::traits = impl::memoizer_detail::lambda_traits<F> |
|
inline |
F rangeless::fn::impl::memoizer< F >::fn |
|
mutable |