LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Class used as end iterator (sentinel) for an infinite loop. More...
#include "counter.h"
Public Types | |
using | value_type = T |
using | reference = T const & |
using | pointer = T const * |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::forward_iterator_tag |
Public Member Functions | |
bool | operator== (this_iterator_t const &) const |
Never admit this iterator is equal to anything else (except the same). More... | |
bool | operator!= (this_iterator_t const &) const |
Never admit this iterator is equal to anything else (except the same). More... | |
Private Types | |
using | this_iterator_t = infinite_endcount_iterator< T > |
using | count_iterator_t = count_iterator< T > |
Class used as end iterator (sentinel) for an infinite loop.
T | the nominal count type |
This "iterator" offers a very limited interface, not at all like a real iterator. In fact, it can only be compared to other count_iterator
objects on the same counter type.
|
private |
using util::details::infinite_endcount_iterator< T >::difference_type = std::ptrdiff_t |
using util::details::infinite_endcount_iterator< T >::iterator_category = std::forward_iterator_tag |
using util::details::infinite_endcount_iterator< T >::pointer = T const* |
using util::details::infinite_endcount_iterator< T >::reference = T const& |
|
private |
using util::details::infinite_endcount_iterator< T >::value_type = T |
|
inline |
|
inline |