#include <itertools/zip.hpp>
template<typename... Rs>
struct itertools::zipped< Rs >
Represents a zipped range.
See itertools::zip(Rs &&...rgs) for more details.
- Template Parameters
-
Definition at line 114 of file zip.hpp.
|
using | const_iterator = zip_iter<decltype(std::cbegin(std::declval<Rs &>()))...> |
| Const iterator type of the zipped range.
|
|
using | iterator = zip_iter<decltype(std::begin(std::declval<Rs &>()))...> |
| Iterator type of the zipped range.
|
|
using | seq_t = std::index_sequence_for<Rs...> |
| Convenience typedef for an std::index_sequence.
|
|
|
template<typename... Us> |
| zipped (Us &&...rgs) |
| Construct a zipped range from the given ranges.
|
|
const_iterator | begin () const noexcept |
| Const overload of begin().
|
|
iterator | begin () noexcept |
| Beginning of the zipped range.
|
|
const_iterator | cbegin () const noexcept |
| Const version of begin().
|
|
auto | cend () const noexcept |
| Const version of end().
|
|
auto | end () const noexcept |
| Const overload of end().
|
|
auto | end () noexcept |
| End of the zipped range.
|
|
bool | operator== (zipped const &) const =default |
| Default equal-to operator.
|
|
|
std::tuple< Rs... > | tu |
| Tuple containing the original ranges.
|
|
◆ zipped()
template<typename... Rs>
template<typename... Us>
Construct a zipped range from the given ranges.
- Template Parameters
-
- Parameters
-
Definition at line 133 of file zip.hpp.
◆ begin()
Beginning of the zipped range.
- Returns
- itertools::zip_iter constructed from the begin iterators of the original ranges.
Definition at line 154 of file zip.hpp.
◆ end()
The documentation for this struct was generated from the following file: