TRIQS/itertools 1.3.0
C++ range library
|
#include <itertools/transform.hpp>
Represents a transformed range.
See itertools::transform(R &&, F) for more details.
R | Range type. |
F | Callable type. |
Definition at line 126 of file transform.hpp.
Public Types | |
using | const_iterator = transform_iter<decltype(std::cbegin(rg)), F> |
Const iterator type of the transformed range. | |
using | iterator = const_iterator |
Iterator type of the transformed range. | |
Public Member Functions | |
const_iterator | begin () const noexcept |
The same as cbegin(). | |
const_iterator | cbegin () const noexcept |
Beginning of the transformed range. | |
auto | cend () const noexcept |
End of the transformed range. | |
auto | end () const noexcept |
The same as cend(). | |
Public Attributes | |
F | lambda |
Callable doing the transformation. | |
R | rg |
Original range. | |
|
inlinenodiscardnoexcept |
Beginning of the transformed range.
Definition at line 143 of file transform.hpp.
|
inlinenodiscardnoexcept |
End of the transformed range.
Definition at line 152 of file transform.hpp.