mn::front_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 front_insert_iterator (container_type &ctr)
 
front_insert_iteratoroperator= (const_reference v)
 
constexpr front_insert_iteratoroperator* ()
 
constexpr front_insert_iteratoroperator++ ()
 
constexpr front_insert_iterator operator++ (int)
 

Protected Attributes

container_typem_con
 

Member Typedef Documentation

◆ const_reference

template<class TCon >
using mn::front_insert_iterator< TCon >::const_reference = typename container_type::const_reference

◆ container_type

template<class TCon >
using mn::front_insert_iterator< TCon >::container_type = TCon

◆ difference_type

template<class TCon >
using mn::front_insert_iterator< TCon >::difference_type = typename container_type::difference_type

◆ iterator

template<class TCon >
using mn::front_insert_iterator< TCon >::iterator = typename container_type::iterator

◆ iterator_category

template<class TCon >
using mn::front_insert_iterator< TCon >::iterator_category = output_iterator_tag

◆ pointer

template<class TCon >
using mn::front_insert_iterator< TCon >::pointer = typename container_type::pointer

◆ reference

template<class TCon >
using mn::front_insert_iterator< TCon >::reference = typename container_type::reference

◆ value_type

template<class TCon >
using mn::front_insert_iterator< TCon >::value_type = typename container_type::value_type

Constructor & Destructor Documentation

◆ front_insert_iterator()

template<class TCon >
constexpr mn::front_insert_iterator< TCon >::front_insert_iterator ( container_type ctr)
inlineexplicitconstexpr

Member Function Documentation

◆ operator*()

template<class TCon >
constexpr front_insert_iterator& mn::front_insert_iterator< TCon >::operator* ( void  )
inlineconstexpr

◆ operator++() [1/2]

template<class TCon >
constexpr front_insert_iterator& mn::front_insert_iterator< TCon >::operator++ ( void  )
inlineconstexpr

◆ operator++() [2/2]

template<class TCon >
constexpr front_insert_iterator mn::front_insert_iterator< TCon >::operator++ ( int  )
inlineconstexpr

◆ operator=()

template<class TCon >
front_insert_iterator& mn::front_insert_iterator< TCon >::operator= ( const_reference  v)
inline

Member Data Documentation

◆ m_con

template<class TCon >
container_type& mn::front_insert_iterator< TCon >::m_con
protected

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