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

Synopsis of methods

constexpr view< transform_fntransform {}

Public Member Functions

template<typename Rng , typename Fun >
constexpr auto operator() (Rng &&rng, Fun fun) const -> transform_view< all_t< Rng >, Fun > requires transformable_range< Rng, Fun >
template<typename Rng1 , typename Rng2 , typename Fun >
constexpr auto operator() (Rng1 &&rng1, Rng2 &&rng2, Fun fun) const -> transform2_view< all_t< Rng1 >, all_t< Rng2 >, Fun > requires transformable_ranges< Rng1, Rng2, Fun >