Linear pool iterator class. More...
#include <linear-pool.hpp>
Public Types | |
using | iterator_category = std::random_access_iterator_tag |
using | value_type = T |
using | difference_type = ptrdiff_t |
using | pointer = value_type* |
using | reference = value_type& |
Public Member Functions | |
Iterator (pointer ptr) noexcept | |
Iterator & | operator= (const Iterator &i) noexcept=default |
Iterator & | operator= (pointer ptr) noexcept |
operator bool () const noexcept | |
bool | operator== (const Iterator &i) const noexcept |
bool | operator!= (const Iterator &i) const noexcept |
Iterator & | operator+= (const difference_type &m) noexcept |
Iterator & | operator-= (const difference_type &m) noexcept |
Iterator & | operator++ () noexcept |
Iterator & | operator-- () noexcept |
Iterator | operator++ (int) noexcept |
Iterator | operator-- (int) noexcept |
Iterator | operator+ (const difference_type &m) noexcept |
Iterator | operator- (const difference_type &m) noexcept |
difference_type | operator- (const Iterator &i) noexcept |
reference | operator* () const noexcept |
pointer | operator-> () noexcept |
Linear pool iterator class.