SPH
Classes | Functions
OutputIterators.h File Reference

Helper iterators allowing to save values to containers. More...

#include "common/Assert.h"

Go to the source code of this file.

Classes

class  NullInserter
 Helper output iterator that simply ignores the written values. More...
 
class  BackInserter< TContainer >
 Output iterator that inserts the written values to the given iterator using push function. More...
 

Functions

template<typename TContainer >
BackInserter< TContainer > backInserter (TContainer &c)
 

Detailed Description

Helper iterators allowing to save values to containers.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file OutputIterators.h.

Function Documentation

◆ backInserter()

template<typename TContainer >
BackInserter<TContainer> backInserter ( TContainer &  c)

Definition at line 67 of file OutputIterators.h.