pstore2
Public Types | Public Member Functions | List of all members
pstore::pointer_based_iterator< T > Class Template Reference

Public Types

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

Public Member Functions

template<typename Other , typename = typename std::enable_if_t< std::is_const<T>::value && !std::is_const<Other>::value>>
constexpr pointer_based_iterator (Other const *const pos) noexcept
 
template<typename Other , typename = typename std::enable_if_t<std::is_const<T>::value == std::is_const<Other>::value>>
constexpr pointer_based_iterator (Other *const pos) noexcept
 
template<typename Other >
constexpr bool operator== (pointer_based_iterator< Other > const &other) const noexcept
 
template<typename Other >
constexpr bool operator!= (pointer_based_iterator< Other > const &other) const noexcept
 
template<typename Other >
constexpr pointer_based_iteratoroperator= (pointer_based_iterator< Other > const &other) noexcept
 
constexpr value_type * operator-> () noexcept
 
constexpr value_type const * operator-> () const noexcept
 
constexpr value_type & operator* () noexcept
 
constexpr value_type const & operator* () const noexcept
 
constexpr value_type & operator[] (std::size_t const n) noexcept
 
constexpr value_type const & operator[] (std::size_t const n) const noexcept
 
pointer_based_iteratoroperator++ () noexcept
 
pointer_based_iterator operator++ (int) noexcept
 
pointer_based_iteratoroperator-- () noexcept
 
pointer_based_iterator operator-- (int) noexcept
 
pointer_based_iteratoroperator+= (difference_type const n) noexcept
 
pointer_based_iteratoroperator-= (difference_type const n) noexcept
 
template<typename Other >
constexpr bool operator< (pointer_based_iterator< Other > const &other) const noexcept
 
template<typename Other >
constexpr bool operator> (pointer_based_iterator< Other > const &other) const noexcept
 
template<typename Other >
constexpr bool operator<= (pointer_based_iterator< Other > const &other) const noexcept
 
template<typename Other >
constexpr bool operator>= (pointer_based_iterator< Other > const &other) const noexcept
 

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