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

Synopsis of methods

constexpr action< transform_fntransform {}
 

Public Member Functions

template<typename Rng , typename F , typename P = identity>
requires InputRange< Rng > &&CopyConstructible< F > &&Writable< iterator_t< Rng >, indirect_result_t< F &, projected< iterator_t< Rng >, P > > > Rng operator() (Rng &&rng, F fun, P proj=P{}) const