Horizon
|
#include <transform.hpp>
Public Member Functions | |
template<typename Fun > | |
constexpr auto | operator() (Fun fun) const |
![]() | |
template (typename Rng, typename Fun)(requires transformable_range< Rng | |
constexpr Fun transform_view< all_t< Rng >, Fun > | operator() (Rng &&rng, Fun fun) const |
template (typename Rng1, typename Rng2, typename Fun)(requires transformable_ranges< Rng1 | |
constexpr Fun transform2_view< all_t< Rng1 >, all_t< Rng2 >, Fun > | operator() (Rng1 &&rng1, Rng2 &&rng2, Fun fun) const |
Additional Inherited Members | |
![]() | |
Rng2 | |
The transform view takes in a function T -> U
and converts an input range of T
into an output range of U
by calling the function on every element of the input range.
transform_func
transform_func(T) -> U
)input_range
T
output_range
U
decay_t<U>