C/C++ API Reference
Loading...
Searching...
No Matches
pw::containers::internal::VarLenEntryIterator< T > Class Template Reference

Overview

template<typename T>
class pw::containers::internal::VarLenEntryIterator< T >

An iterator for accessing the contents of a VarLenEntry<T>.

Template Parameters
TElement type of the entry.

Public Types

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

Public Member Functions

constexpr VarLenEntryIterator (const VarLenEntryIterator &)=default
 
constexpr VarLenEntryIteratoroperator= (const VarLenEntryIterator &)=default
 
constexpr VarLenEntryIteratoroperator++ ()
 
constexpr VarLenEntryIterator operator++ (int)
 
constexpr VarLenEntryIteratoroperator+= (difference_type n)
 
constexpr reference operator* () const
 
constexpr pointer operator-> () const
 

Friends

template<typename >
class VarLenEntry
 
constexpr VarLenEntryIterator operator+ (const VarLenEntryIterator &it, difference_type n)
 
constexpr VarLenEntryIterator operator+ (difference_type n, const VarLenEntryIterator &it)
 
constexpr bool operator== (const VarLenEntryIterator &lhs, const VarLenEntryIterator &rhs)
 
constexpr bool operator!= (const VarLenEntryIterator &lhs, const VarLenEntryIterator &rhs)
 

The documentation for this class was generated from the following file: