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

Public Member Functions

template<typename F >
requires std::is_bind_expression<uncvref_t<F>>
::value protector< uncvref_t< F > > operator() (F &&f) const
 
template<typename F >
requires (!std::is_bind_expression<uncvref_t<F>>::value)
operator() (F &&f) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.