Class CircularBuffer::iterator

Nested Relationships

This class is a nested type of Template Class CircularBuffer.

Class Documentation

class iterator

Public Types

using iterator_category = std::forward_iterator_tag
using value_type = T
using difference_type = std::ptrdiff_t
using pointer = T*
using reference = T&

Public Functions

inline iterator(CircularBuffer *parent, size_t pos)
inline reference operator*()
inline pointer operator->()
inline iterator &operator++()
inline iterator operator++(int)
inline bool operator==(const iterator &other) const
inline bool operator!=(const iterator &other) const