23 template <
typename TValue>
36 template <
typename TContainer>
39 TContainer& container;
43 : container(container) {}
53 template <
typename TValue>
55 container.push(std::forward<TValue>(value));
66 template <
typename TContainer>
#define NAMESPACE_SPH_END
BackInserter< TContainer > backInserter(TContainer &c)
Output iterator that inserts the written values to the given iterator using push function.
BackInserter & operator++()
BackInserter & operator=(TValue &&value)
BackInserter & operator*()
BackInserter(TContainer &container)
std::output_iterator_tag iterator_category
ptrdiff_t difference_type
Helper output iterator that simply ignores the written values.
NullInserter & operator=(TValue &&)
NullInserter & operator*()
NullInserter & operator++()
ptrdiff_t difference_type
std::output_iterator_tag iterator_category