itertools::transform

#include <itertools.hpp>

Synopsis

template<typename R, typename F>
auto transform (R && rg, F lambda)

Template parameters

  • R Range type.

  • F Callable type.

Parameters

  • rg Range to transform.

  • lambda Callable to be applied to the given range.

Returns

A itertools::transformed range.