TRIQS/itertools 1.3.0
C++ range library
|
#include "./utils.hpp"
#include <algorithm>
#include <cstddef>
#include <iterator>
#include <utility>
Provides a range adapting function for slicing a given range/view.
Definition in file slice.hpp.
Go to the source code of this file.
Classes | |
struct | itertools::sliced< R > |
Represents a sliced range. More... | |
Functions | |
template<typename R > | |
sliced< R > | itertools::slice (R &&rg, std::ptrdiff_t start_idx, std::ptrdiff_t end_idx) |
Lazy-slice a given range. | |