14#ifndef RANGES_V3_ACTION_TRANSFORM_HPP
15#define RANGES_V3_ACTION_TRANSFORM_HPP
25#include <range/v3/utility/static_const.hpp>
27#include <range/v3/detail/prologue.hpp>
37 template(
typename F,
typename P =
identity)(
39 constexpr auto operator()(F fun, P proj = P{})
const
41 return make_action_closure(
45 template(
typename Rng,
typename F,
typename P =
identity)(
50 Rng operator()(Rng && rng, F fun, P proj = P{})
const
52 ranges::transform(rng, begin(rng), std::move(fun), std::move(proj));
53 return static_cast<Rng &&
>(rng);
63#include <range/v3/detail/epilogue.hpp>
The indirectly_writable concept.
decltype(begin(declval(Rng &))) iterator_t
Definition: access.hpp:698
RANGES_INLINE_VARIABLE(detail::to_container_fn< detail::from_range< std::vector > >, to_vector) template< template< typename... > class ContT > auto to(RANGES_HIDDEN_DETAIL(detail
For initializing a container of the specified type with the elements of an Range.
Definition: conversion.hpp:399
defer< bind_back, Fn, Ts... > bind_back
Definition: meta.hpp:994
Definition: identity.hpp:25