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

Synopsis of methods

constexpr transform_fn transform {}
 

Public Member Functions

P indirect_result_t< F &, projected< iterator_t< Rng >, P > > Rng operator() (Rng &&rng, F fun, P proj=P{}) const
 
template<typename F , typename P = identity>
 requires (!range< F >)` const expr auto operator()(F fun
 

Public Attributes

F
 
P = identity > requires ` input_range<Rng> && copy_constructible<F> && indirectly_writable< iterator_t<Rng>
 
proj
 

Member Data Documentation

◆ proj

P ranges::actions::transform_fn::proj
Initial value:
= P{}) const
{
bind_back(transform_fn{}, std::move(fun), std::move(proj)));
}
template<typename Rng
ranges::make_action_closure
constexpr make_action_closure_fn make_action_closure
Definition: action.hpp:37
ranges::aux::move
constexpr move_fn move
Definition: move.hpp:48
meta::lazy::bind_back
defer< bind_back, Fn, Ts... > bind_back
Definition: meta.hpp:785