plugify  1.0.0.0
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
plg::vector_const_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::const_pointer
 
using reference = const value_type &
 

Public Member Functions

constexpr vector_const_iterator (const vector_const_iterator &other)=default
 
constexpr vector_const_iterator (vector_const_iterator &&other)=default
 
constexpr vector_const_iterator (pointer ptr)
 
constexpr vector_const_iterator (const vector_iterator< Allocator > &other)
 
constexpr vector_const_iteratoroperator= (const vector_const_iterator &other)=default
 
constexpr vector_const_iteratoroperator= (vector_const_iterator &&other)=default
 
constexpr reference operator* () const noexcept
 
constexpr pointer operator-> () const noexcept
 
constexpr vector_const_iteratoroperator++ () noexcept
 
constexpr vector_const_iterator operator++ (int) const noexcept
 
constexpr vector_const_iteratoroperator-- () noexcept
 
constexpr vector_const_iterator operator-- (int) const noexcept
 
constexpr vector_const_iteratoroperator+= (const difference_type n) noexcept
 
constexpr vector_const_iterator operator+ (const difference_type n) const noexcept
 
constexpr vector_const_iteratoroperator-= (const difference_type n) noexcept
 
constexpr vector_const_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_const_iterator< Alloc >::difference_type operator- (const vector_const_iterator< Alloc > &lhs, const vector_const_iterator< Alloc > &rhs) noexcept
 
template<typename Alloc >
constexpr friend bool operator== (const vector_const_iterator< Alloc > &lhs, const vector_const_iterator< Alloc > &rhs) noexcept
 
template<typename Alloc >
constexpr friend auto operator<=> (const vector_const_iterator< Alloc > &lhs, const vector_const_iterator< Alloc > &rhs) noexcept
 
template<typename Alloc >
constexpr friend vector_const_iterator< Alloc >::difference_type operator- (const vector_const_iterator< Alloc > &lhs, const vector_iterator< Alloc > &rhs) noexcept
 
template<typename Alloc >
constexpr friend bool operator== (const vector_const_iterator< Alloc > &lhs, const vector_iterator< Alloc > &rhs) noexcept
 
template<typename Alloc >
constexpr friend auto operator<=> (const vector_const_iterator< Alloc > &lhs, const vector_iterator< Alloc > &rhs) noexcept
 

Detailed Description

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

Definition at line 120 of file vector.hpp.


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