Itoyori  v0.0.1
ityr::global_move_iterator< GlobalIterator > Class Template Reference

Global iterator for moving objects. More...

#include <global_iterator.hpp>

Inheritance diagram for ityr::global_move_iterator< GlobalIterator >:
Collaboration diagram for ityr::global_move_iterator< GlobalIterator >:

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 = typename GlobalIterator::mode
 
using checkout_iterator = std::move_iterator< typename GlobalIterator::checkout_iterator >
 

Public Member Functions

 global_move_iterator (GlobalIterator git)
 
GlobalIterator base () const
 
constexpr this_toperator+= (difference_type diff) noexcept
 
constexpr this_toperator-= (difference_type diff) noexcept
 
constexpr this_toperator++ () noexcept
 
constexpr this_toperator-- () 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
 

Detailed Description

template<typename GlobalIterator>
class ityr::global_move_iterator< GlobalIterator >

Global iterator for moving objects.

See also
ityr::make_move_iterator()

Member Typedef Documentation

◆ checkout_iterator

template<typename GlobalIterator >
using ityr::global_move_iterator< GlobalIterator >::checkout_iterator = std::move_iterator<typename GlobalIterator::checkout_iterator>

◆ difference_type

template<typename GlobalIterator >
using ityr::global_move_iterator< GlobalIterator >::difference_type = typename base_t::difference_type

◆ iterator_category

template<typename GlobalIterator >
using ityr::global_move_iterator< GlobalIterator >::iterator_category = typename base_t::iterator_category

◆ mode

template<typename GlobalIterator >
using ityr::global_move_iterator< GlobalIterator >::mode = typename GlobalIterator::mode

◆ pointer

template<typename GlobalIterator >
using ityr::global_move_iterator< GlobalIterator >::pointer = typename base_t::pointer

◆ reference

template<typename GlobalIterator >
using ityr::global_move_iterator< GlobalIterator >::reference = typename base_t::reference

◆ value_type

template<typename GlobalIterator >
using ityr::global_move_iterator< GlobalIterator >::value_type = typename base_t::value_type

Constructor & Destructor Documentation

◆ global_move_iterator()

template<typename GlobalIterator >
ityr::global_move_iterator< GlobalIterator >::global_move_iterator ( GlobalIterator  git)
inlineexplicit

Member Function Documentation

◆ base()

template<typename GlobalIterator >
GlobalIterator ityr::global_move_iterator< GlobalIterator >::base ( ) const
inline

◆ checkout_nb()

template<typename GlobalIterator >
auto ityr::global_move_iterator< GlobalIterator >::checkout_nb ( std::size_t  count) const
inline

◆ operator+()

template<typename GlobalIterator >
constexpr this_t ityr::global_move_iterator< GlobalIterator >::operator+ ( difference_type  diff) const
inlineconstexprnoexcept

◆ operator++() [1/2]

template<typename GlobalIterator >
constexpr this_t& ityr::global_move_iterator< GlobalIterator >::operator++ ( )
inlineconstexprnoexcept

◆ operator++() [2/2]

template<typename GlobalIterator >
constexpr this_t ityr::global_move_iterator< GlobalIterator >::operator++ ( int  )
inlineconstexprnoexcept

◆ operator+=()

template<typename GlobalIterator >
constexpr this_t& ityr::global_move_iterator< GlobalIterator >::operator+= ( difference_type  diff)
inlineconstexprnoexcept

◆ operator-()

template<typename GlobalIterator >
constexpr this_t ityr::global_move_iterator< GlobalIterator >::operator- ( difference_type  diff) const
inlineconstexprnoexcept

◆ operator--() [1/2]

template<typename GlobalIterator >
constexpr this_t& ityr::global_move_iterator< GlobalIterator >::operator-- ( )
inlineconstexprnoexcept

◆ operator--() [2/2]

template<typename GlobalIterator >
constexpr this_t ityr::global_move_iterator< GlobalIterator >::operator-- ( int  )
inlineconstexprnoexcept

◆ operator-=()

template<typename GlobalIterator >
constexpr this_t& ityr::global_move_iterator< GlobalIterator >::operator-= ( difference_type  diff)
inlineconstexprnoexcept

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