|
StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
|
Const iterator adapter over Container::const_iterator.
More...
#include <StormByte/iterable.hxx>
Public Types | |
| using | iterator_category = typename std::iterator_traits< typename Container::const_iterator >::iterator_category |
| Matches the underlying container iterator; not assumed random-access. | |
| using | value_type = typename std::iterator_traits< typename Container::const_iterator >::value_type |
| using | difference_type = typename std::iterator_traits< typename Container::const_iterator >::difference_type |
| using | pointer = typename std::iterator_traits< typename Container::const_iterator >::pointer |
| using | reference = typename std::iterator_traits< typename Container::const_iterator >::reference |
Public Member Functions | |
| reference | operator* () const |
| Dereference. | |
| pointer | operator-> () const |
| Member access. | |
| ConstIterator & | operator++ () |
| Pre-increment. | |
| ConstIterator | operator++ (int) |
| Post-increment. | |
| ConstIterator & | operator-- () |
| Pre-decrement. | |
| ConstIterator | operator-- (int) |
| Post-decrement. | |
| ConstIterator & | operator+= (difference_type n) |
| Advance in place. | |
| ConstIterator & | operator-= (difference_type n) |
| Retreat in place. | |
| ConstIterator | operator+ (difference_type n) const |
Iterator advanced by n. | |
| ConstIterator | operator- (difference_type n) const |
Iterator moved back by n. | |
| difference_type | operator- (const ConstIterator &other) const |
Distance to other. | |
| bool | operator== (const ConstIterator &other) const |
| Equality. | |
| bool | operator!= (const ConstIterator &other) const |
| Inequality. | |
Friends | |
| class | Iterable |
Const iterator adapter over Container::const_iterator.
| using StormByte::Iterable< Container >::ConstIterator::difference_type = typename std::iterator_traits<typename Container::const_iterator>::difference_type |
| using StormByte::Iterable< Container >::ConstIterator::iterator_category = typename std::iterator_traits<typename Container::const_iterator>::iterator_category |
Matches the underlying container iterator; not assumed random-access.
| using StormByte::Iterable< Container >::ConstIterator::pointer = typename std::iterator_traits<typename Container::const_iterator>::pointer |
| using StormByte::Iterable< Container >::ConstIterator::reference = typename std::iterator_traits<typename Container::const_iterator>::reference |
| using StormByte::Iterable< Container >::ConstIterator::value_type = typename std::iterator_traits<typename Container::const_iterator>::value_type |
| bool StormByte::Iterable< Container >::ConstIterator::operator!= | ( | const ConstIterator & | other | ) | const |
Inequality.
| other | Other iterator. |
| reference StormByte::Iterable< Container >::ConstIterator::operator* | ( | ) | const |
Dereference.
| ConstIterator StormByte::Iterable< Container >::ConstIterator::operator+ | ( | difference_type | n | ) | const |
Iterator advanced by n.
| n | Positions. |
| ConstIterator & StormByte::Iterable< Container >::ConstIterator::operator++ | ( | ) |
Pre-increment.
*this after advancing one. | ConstIterator StormByte::Iterable< Container >::ConstIterator::operator++ | ( | int | ) |
Post-increment.
| ConstIterator & StormByte::Iterable< Container >::ConstIterator::operator+= | ( | difference_type | n | ) |
Advance in place.
| n | Positions (may be negative). |
*this. | difference_type StormByte::Iterable< Container >::ConstIterator::operator- | ( | const ConstIterator & | other | ) | const |
Distance to other.
| other | Iterator to subtract. |
| ConstIterator StormByte::Iterable< Container >::ConstIterator::operator- | ( | difference_type | n | ) | const |
Iterator moved back by n.
| n | Positions. |
| ConstIterator & StormByte::Iterable< Container >::ConstIterator::operator-- | ( | ) |
Pre-decrement.
*this after moving back one. | ConstIterator StormByte::Iterable< Container >::ConstIterator::operator-- | ( | int | ) |
Post-decrement.
| ConstIterator & StormByte::Iterable< Container >::ConstIterator::operator-= | ( | difference_type | n | ) |
Retreat in place.
| n | Positions (may be negative). |
*this. | pointer StormByte::Iterable< Container >::ConstIterator::operator-> | ( | ) | const |
Member access.
| bool StormByte::Iterable< Container >::ConstIterator::operator== | ( | const ConstIterator & | other | ) | const |
Equality.
| other | Other iterator. |
|
friend |