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

Global iterator for constructing objects. More...

#include <global_iterator.hpp>

Inheritance diagram for ityr::global_construct_iterator< GlobalIterator >:
Collaboration diagram for ityr::global_construct_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 = count_iterator< typename GlobalIterator::checkout_iterator >
 

Public Member Functions

 global_construct_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_construct_iterator< GlobalIterator >

Global iterator for constructing objects.

See also
ityr::make_construct_iterator()

Member Typedef Documentation

◆ checkout_iterator

template<typename GlobalIterator >
using ityr::global_construct_iterator< GlobalIterator >::checkout_iterator = count_iterator<typename GlobalIterator::checkout_iterator>

◆ difference_type

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

◆ iterator_category

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

◆ mode

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

◆ pointer

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

◆ reference

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

◆ value_type

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

Constructor & Destructor Documentation

◆ global_construct_iterator()

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

Member Function Documentation

◆ base()

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

◆ checkout_nb()

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

◆ operator+()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=()

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

◆ operator-()

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=()

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

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