Public Types | Public Member Functions | Private Types | List of all members
util::details::zip_iterator< Lead > Class Template Reference

#include <zip.h>

Public Types

using difference_type = std::ptrdiff_t
 
using reference = std::tuple<>
 
using value_type = std::remove_cv_t< reference >
 
using pointer = std::add_pointer_t< std::remove_reference_t< reference >>
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 zip_iterator ()=default
 
std::tuple operator* () const
 
this_iterator_toperator++ ()
 Increments all the iterators. More...
 
this_iterator_t operator++ (int)
 
template<std::size_t OtherLead, typename... OtherIter>
bool operator!= (zip_iterator< OtherLead, OtherIter... > const &other) const
 
template<std::size_t OtherLead, typename... OtherIter>
bool operator== (zip_iterator< OtherLead, OtherIter... > const &other) const
 

Private Types

using this_iterator_t = zip_iterator< Lead >
 Type of this object. More...
 

Detailed Description

template<std::size_t Lead>
class util::details::zip_iterator< Lead >

Definition at line 228 of file zip.h.

Member Typedef Documentation

template<std::size_t Lead>
using util::details::zip_iterator< Lead >::difference_type = std::ptrdiff_t

Definition at line 236 of file zip.h.

template<std::size_t Lead>
using util::details::zip_iterator< Lead >::iterator_category = std::forward_iterator_tag

Definition at line 240 of file zip.h.

template<std::size_t Lead>
using util::details::zip_iterator< Lead >::pointer = std::add_pointer_t<std::remove_reference_t<reference>>

Definition at line 239 of file zip.h.

template<std::size_t Lead>
using util::details::zip_iterator< Lead >::reference = std::tuple<>

Definition at line 237 of file zip.h.

template<std::size_t Lead>
using util::details::zip_iterator< Lead >::this_iterator_t = zip_iterator<Lead>
private

Type of this object.

Definition at line 231 of file zip.h.

template<std::size_t Lead>
using util::details::zip_iterator< Lead >::value_type = std::remove_cv_t<reference>

Definition at line 238 of file zip.h.

Constructor & Destructor Documentation

template<std::size_t Lead>
util::details::zip_iterator< Lead >::zip_iterator ( )
default

Member Function Documentation

template<std::size_t Lead>
template<std::size_t OtherLead, typename... OtherIter>
bool util::details::zip_iterator< Lead >::operator!= ( zip_iterator< OtherLead, OtherIter... > const &  other) const
inline

Definition at line 255 of file zip.h.

256  { return false; }
template<std::size_t Lead>
std::tuple util::details::zip_iterator< Lead >::operator* ( ) const
inline

Definition at line 244 of file zip.h.

244 { return {}; }
template<std::size_t Lead>
this_iterator_t& util::details::zip_iterator< Lead >::operator++ ( )
inline

Increments all the iterators.

Definition at line 247 of file zip.h.

247 { return *this; }
template<std::size_t Lead>
this_iterator_t util::details::zip_iterator< Lead >::operator++ ( int  )
inline

Definition at line 249 of file zip.h.

250  { this_iterator_t old(*this); operator++(); return old; }
zip_iterator< Lead > this_iterator_t
Type of this object.
Definition: zip.h:231
this_iterator_t & operator++()
Increments all the iterators.
Definition: zip.h:247
template<std::size_t Lead>
template<std::size_t OtherLead, typename... OtherIter>
bool util::details::zip_iterator< Lead >::operator== ( zip_iterator< OtherLead, OtherIter... > const &  other) const
inline

Definition at line 260 of file zip.h.

261  { return true; }

The documentation for this class was generated from the following file: