SPH
Public Types | Public Member Functions | List of all members
BackInserter< TContainer > Class Template Reference

Output iterator that inserts the written values to the given iterator using push function. More...

#include <OutputIterators.h>

Public Types

using iterator_category = std::output_iterator_tag
 
using value_type = void
 
using difference_type = ptrdiff_t
 
using pointer = void
 
using reference = void
 

Public Member Functions

 BackInserter (TContainer &container)
 
BackInserteroperator* ()
 
BackInserteroperator++ ()
 
template<typename TValue >
BackInserteroperator= (TValue &&value)
 

Detailed Description

template<typename TContainer>
class BackInserter< TContainer >

Output iterator that inserts the written values to the given iterator using push function.

Definition at line 37 of file OutputIterators.h.

Member Typedef Documentation

◆ difference_type

template<typename TContainer >
using BackInserter< TContainer >::difference_type = ptrdiff_t

Definition at line 61 of file OutputIterators.h.

◆ iterator_category

template<typename TContainer >
using BackInserter< TContainer >::iterator_category = std::output_iterator_tag

Definition at line 59 of file OutputIterators.h.

◆ pointer

template<typename TContainer >
using BackInserter< TContainer >::pointer = void

Definition at line 62 of file OutputIterators.h.

◆ reference

template<typename TContainer >
using BackInserter< TContainer >::reference = void

Definition at line 63 of file OutputIterators.h.

◆ value_type

template<typename TContainer >
using BackInserter< TContainer >::value_type = void

Definition at line 60 of file OutputIterators.h.

Constructor & Destructor Documentation

◆ BackInserter()

template<typename TContainer >
BackInserter< TContainer >::BackInserter ( TContainer &  container)
inlineexplicit

Definition at line 42 of file OutputIterators.h.

Member Function Documentation

◆ operator*()

template<typename TContainer >
BackInserter& BackInserter< TContainer >::operator* ( )
inline

Definition at line 45 of file OutputIterators.h.

◆ operator++()

template<typename TContainer >
BackInserter& BackInserter< TContainer >::operator++ ( )
inline

Definition at line 49 of file OutputIterators.h.

◆ operator=()

template<typename TContainer >
template<typename TValue >
BackInserter& BackInserter< TContainer >::operator= ( TValue &&  value)
inline

Definition at line 54 of file OutputIterators.h.


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