Utopia 2
Framework for studying models of complex & adaptive systems.
|
A range defined by instances of ZipIterator. More...
#include <zip.hh>
Public Member Functions | |
auto | begin () |
make Zipiterator containing the begin iterators of the containers 'zip' refers to | |
auto | end () |
make Zipiterator containing the end iterators of the containers 'zip' refers to | |
auto | cbegin () |
make Zipiterator containing the const begin iterators of the containers 'zip' refers to | |
auto | cend () |
make Zipiterator containing the const end iterators of the containers 'zip' refers to | |
auto | rbegin () |
make Zipiterator containing the reverse begin iterators of the containers 'zip' refers to | |
auto | rend () |
make Zipiterator containing the reverse end iterators of the containers 'zip' refers to | |
zip (const zip &other)=delete | |
Construct a new zip object. | |
zip & | operator= (const zip &other)=delete |
deleted copy assignment | |
zip & | operator= (zip &&other)=default |
assign zip object | |
zip (zip &&other)=default | |
Construct a new zip object. | |
~zip ()=default | |
Destroy the range. | |
zip (Containers &... conts) | |
Instantiate a new zip range. | |
Protected Types | |
using | Tuple = std::tuple< std::reference_wrapper< Containers >... > |
Protected Attributes | |
Tuple | _containers |
A range defined by instances of ZipIterator.
The range itself only references the containers it is constructed from. The containers must exist throughout the life time of this range.
Containers | Types of containers iterated over by ZipIterator |
|
protected |
|
delete |
Construct a new zip object.
other |
|
default |
Construct a new zip object.
other |
|
default |
Destroy the range.
|
inline |
Instantiate a new zip range.
conts | The pack of containers to create the range from |
|
inline |
make Zipiterator containing the begin iterators of the containers 'zip' refers to
|
inline |
make Zipiterator containing the const begin iterators of the containers 'zip' refers to
|
inline |
make Zipiterator containing the const end iterators of the containers 'zip' refers to
|
inline |
make Zipiterator containing the end iterators of the containers 'zip' refers to
|
delete |
deleted copy assignment
other |
|
default |
assign zip object
other |
|
inline |
make Zipiterator containing the reverse begin iterators of the containers 'zip' refers to
|
inline |
make Zipiterator containing the reverse end iterators of the containers 'zip' refers to
|
protected |