plugify  1.0.0.0
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
plg::vector_iterator< Allocator > Struct Template Reference

Public Types

using allocator_traits = std::allocator_traits< Allocator >
 
using iterator_category = std::random_access_iterator_tag
 
using value_type = typename allocator_traits::value_type
 
using difference_type = std::ptrdiff_t
 
using pointer = typename allocator_traits::pointer
 
using reference = value_type &
 

Public Member Functions

constexpr vector_iterator (const vector_iterator &other)=default
 
constexpr vector_iterator (vector_iterator &&other)=default
 
constexpr vector_iterator (pointer ptr)
 
constexpr vector_iteratoroperator= (const vector_iterator &other)=default
 
constexpr vector_iteratoroperator= (vector_iterator &&other)=default
 
constexpr reference operator* () const noexcept
 
constexpr pointer operator-> () const noexcept
 
constexpr vector_iteratoroperator++ () noexcept
 
constexpr vector_iterator operator++ (int) const noexcept
 
constexpr vector_iteratoroperator-- () noexcept
 
constexpr vector_iterator operator-- (int) const noexcept
 
constexpr vector_iteratoroperator+= (const difference_type n) noexcept
 
constexpr vector_iterator operator+ (const difference_type n) const noexcept
 
constexpr vector_iteratoroperator-= (const difference_type n) noexcept
 
constexpr vector_iterator operator- (const difference_type n) const noexcept
 
constexpr reference operator[] (const difference_type n) const noexcept
 
 operator const pointer () const noexcept
 
pointer base () const noexcept
 

Protected Attributes

pointer _current
 

Friends

template<typename Alloc >
constexpr friend vector_iterator< Alloc >::difference_type operator- (const vector_iterator< Alloc > &lhs, const vector_iterator< Alloc > &rhs) noexcept
 
template<typename Alloc >
constexpr friend bool operator== (const vector_iterator< Alloc > &lhs, const vector_iterator< Alloc > &rhs) noexcept
 
template<typename Alloc >
constexpr friend auto operator<=> (const vector_iterator< Alloc > &lhs, const vector_iterator< Alloc > &rhs) noexcept
 

Detailed Description

template<typename Allocator>
struct plg::vector_iterator< Allocator >

Definition at line 32 of file vector.hpp.


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