TRIQS/itertools 1.3.0
C++ range library
Loading...
Searching...
No Matches
transform.hpp File Reference
#include "./iterator_facade.hpp"
#include "./sentinel.hpp"
#include <iterator>
#include <optional>
#include <type_traits>
#include <utility>

Detailed Description

Provides a range adapting function for transforming a given range/view.

Definition in file transform.hpp.

Go to the source code of this file.

Classes

struct  itertools::transform_iter< Iter, F, Value >
 Iterator for a itertools::transformed range. More...
 
struct  itertools::transformed< R, F >
 Represents a transformed range. More...
 

Functions

template<typename R , typename F >
auto itertools::transform (R &&rg, F lambda)
 Lazy-transform a given range by applying a unary callable object to every element of the original range.