mn::back_insert_iterator< TCon > Class Template Reference

#include <mn_iterator.hpp>

Public Types

using container_type = TCon
 
using iterator_category = output_iterator_tag
 
using value_type = typename container_type::value_type
 
using difference_type = typename container_type::difference_type
 
using pointer = typename container_type::pointer
 
using reference = typename container_type::reference
 
using const_reference = typename container_type::const_reference
 
using iterator = typename container_type::iterator
 

Public Member Functions

constexpr back_insert_iterator (container_type &ctr)
 
back_insert_iteratoroperator= (const_reference v)
 
constexpr back_insert_iteratoroperator* ()
 
constexpr back_insert_iteratoroperator++ ()
 
constexpr back_insert_iterator operator++ (int)
 

Protected Attributes

container_typem_con
 

Member Typedef Documentation

◆ const_reference

template<typename TCon >
using mn::back_insert_iterator< TCon >::const_reference = typename container_type::const_reference

◆ container_type

template<typename TCon >
using mn::back_insert_iterator< TCon >::container_type = TCon

◆ difference_type

template<typename TCon >
using mn::back_insert_iterator< TCon >::difference_type = typename container_type::difference_type

◆ iterator

template<typename TCon >
using mn::back_insert_iterator< TCon >::iterator = typename container_type::iterator

◆ iterator_category

template<typename TCon >
using mn::back_insert_iterator< TCon >::iterator_category = output_iterator_tag

◆ pointer

template<typename TCon >
using mn::back_insert_iterator< TCon >::pointer = typename container_type::pointer

◆ reference

template<typename TCon >
using mn::back_insert_iterator< TCon >::reference = typename container_type::reference

◆ value_type

template<typename TCon >
using mn::back_insert_iterator< TCon >::value_type = typename container_type::value_type

Constructor & Destructor Documentation

◆ back_insert_iterator()

template<typename TCon >
constexpr mn::back_insert_iterator< TCon >::back_insert_iterator ( container_type ctr)
inlineexplicitconstexpr

Member Function Documentation

◆ operator*()

template<typename TCon >
constexpr back_insert_iterator& mn::back_insert_iterator< TCon >::operator* ( void  )
inlineconstexpr

◆ operator++() [1/2]

template<typename TCon >
constexpr back_insert_iterator& mn::back_insert_iterator< TCon >::operator++ ( void  )
inlineconstexpr

◆ operator++() [2/2]

template<typename TCon >
constexpr back_insert_iterator mn::back_insert_iterator< TCon >::operator++ ( int  )
inlineconstexpr

◆ operator=()

template<typename TCon >
back_insert_iterator& mn::back_insert_iterator< TCon >::operator= ( const_reference  v)
inline

Member Data Documentation

◆ m_con

template<typename TCon >
container_type& mn::back_insert_iterator< TCon >::m_con
protected

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