Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::uni_zip_detail::AlephIteratorWrapper< Container > Class Template Reference

Wrapper that provides uniform interface for Aleph iterators. More...

#include <ah-zip-utils.H>

Public Types

using value_type = std::decay_t< typename std::decay_t< Container >::Item_Type >
 

Public Member Functions

 AlephIteratorWrapper (const Container &c)
 
bool has_curr () const noexcept
 
bool completed () const noexcept
 
auto get_curr () const
 
void next ()
 
void next_ne ()
 Advance without checking; same as next(), which does not check.
 

Private Attributes

std::decay_t< Container >::Iterator it_
 

Detailed Description

template<typename Container>
class Aleph::uni_zip_detail::AlephIteratorWrapper< Container >

Wrapper that provides uniform interface for Aleph iterators.

Definition at line 158 of file ah-zip-utils.H.

Member Typedef Documentation

◆ value_type

Definition at line 165 of file ah-zip-utils.H.

Constructor & Destructor Documentation

◆ AlephIteratorWrapper()

template<typename Container >
Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::AlephIteratorWrapper ( const Container &  c)
inlineexplicit

Definition at line 167 of file ah-zip-utils.H.

Member Function Documentation

◆ completed()

◆ get_curr()

◆ has_curr()

◆ next()

◆ next_ne()

Advance without checking; same as next(), which does not check.

Provided so the adaptor satisfies AlephIterator and works in generic code that advances with next_ne() under a has_curr() guard.

Definition at line 180 of file ah-zip-utils.H.

References Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::next().

Member Data Documentation

◆ it_


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