Global iterator to enable/disable automatic checkout. More...
#include <global_iterator.hpp>
Public Types | |
using | value_type = typename base_t::value_type |
using | difference_type = typename base_t::difference_type |
using | pointer = typename base_t::pointer |
using | reference = typename base_t::reference |
using | iterator_category = typename base_t::iterator_category |
using | mode = Mode |
using | checkout_iterator = internal::checkout_iterator_t< base_t, Mode > |
Public Types inherited from ityr::ori::global_ptr< T > | |
using | element_type = T |
using | value_type = std::remove_cv_t< T > |
using | difference_type = std::ptrdiff_t |
using | pointer = T * |
using | reference = global_ref< T > |
using | iterator_category = std::random_access_iterator_tag |
Public Member Functions | |
global_iterator () | |
global_iterator (ori::global_ptr< T > gptr) | |
constexpr this_t & | operator+= (difference_type diff) noexcept |
constexpr this_t & | operator-= (difference_type diff) noexcept |
constexpr this_t & | operator++ () noexcept |
constexpr this_t & | operator-- () noexcept |
constexpr this_t | operator++ (int) noexcept |
constexpr this_t | operator-- (int) noexcept |
constexpr this_t | operator+ (difference_type diff) const noexcept |
constexpr this_t | operator- (difference_type diff) const noexcept |
auto | checkout_nb (std::size_t count) const |
Public Member Functions inherited from ityr::ori::global_ptr< T > | |
constexpr | global_ptr () noexcept |
constexpr | global_ptr (T *ptr) noexcept |
constexpr | global_ptr (const this_t &) noexcept=default |
constexpr this_t & | operator= (const this_t &) noexcept=default |
constexpr | global_ptr (std::nullptr_t) noexcept |
constexpr this_t & | operator= (std::nullptr_t) noexcept |
constexpr pointer | raw_ptr () const noexcept |
constexpr | operator bool () const noexcept |
constexpr bool | operator! () const noexcept |
constexpr reference | operator* () const |
constexpr reference | operator[] (difference_type diff) const |
constexpr this_t & | operator+= (difference_type diff) noexcept |
constexpr this_t & | operator-= (difference_type diff) noexcept |
constexpr this_t & | operator++ () noexcept |
constexpr this_t & | operator-- () noexcept |
constexpr this_t | operator++ (int) noexcept |
constexpr this_t | operator-- (int) noexcept |
constexpr this_t | operator+ (difference_type diff) const noexcept |
constexpr this_t | operator- (difference_type diff) const noexcept |
constexpr void | swap (this_t &p) noexcept |
constexpr | operator global_ptr< const value_type > () const noexcept |
Global iterator to enable/disable automatic checkout.
ityr::make_global_iterator()
using ityr::global_iterator< T, Mode >::checkout_iterator = internal::checkout_iterator_t<base_t, Mode> |
using ityr::global_iterator< T, Mode >::difference_type = typename base_t::difference_type |
using ityr::global_iterator< T, Mode >::iterator_category = typename base_t::iterator_category |
using ityr::global_iterator< T, Mode >::mode = Mode |
using ityr::global_iterator< T, Mode >::pointer = typename base_t::pointer |
using ityr::global_iterator< T, Mode >::reference = typename base_t::reference |
using ityr::global_iterator< T, Mode >::value_type = typename base_t::value_type |
|
inline |
|
inline |
|
inline |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |