Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::make_invokable_fn Struct Reference

Public Member Functions

template<typename R , typename... Args>
ptr_fn_< R, Args...> operator() (R(*p)(Args...)) const
 
template<typename R , typename T >
auto operator() (R T::*p) const -> decltype(std::mem_fn(p))
 
template<typename T , typename U = detail::decay_t<T>>
auto operator() (T &&t) const -> meta::if_c<!std::is_pointer< U >::value &&!std::is_member_pointer< U >::value, T >