|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
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_ |
Wrapper that provides uniform interface for Aleph iterators.
Definition at line 158 of file ah-zip-utils.H.
| using Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::value_type = std::decay_t<typename std::decay_t<Container>::Item_Type> |
Definition at line 165 of file ah-zip-utils.H.
|
inlineexplicit |
Definition at line 167 of file ah-zip-utils.H.
|
inlinenoexcept |
Definition at line 171 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::it_.
|
inline |
Definition at line 172 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::it_.
|
inlinenoexcept |
Definition at line 170 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::it_.
|
inline |
Definition at line 173 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::it_.
Referenced by Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::next_ne().
|
inline |
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().
|
mutableprivate |
Definition at line 162 of file ah-zip-utils.H.
Referenced by Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::completed(), Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::get_curr(), Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::has_curr(), and Aleph::uni_zip_detail::AlephIteratorWrapper< Container >::next().