kblib 0.2.3
General utilities library for modern C++
|
An OutputIterator that transforms the values assigned to it before inserting them into the back of a container. More...
#include <kblib/iterators.h>
Public Types | |
using | value_type = void |
using | difference_type = void |
using | pointer = void |
using | reference = void |
using | iterator_category = std::output_iterator_tag |
Public Member Functions | |
back_insert_iterator_F (Container &c, F f) | |
template<typename V > | |
auto | operator= (V &&value) -> back_insert_iterator_F & |
Calls container.push_back(kblib::invoke(fun,
std::forward<V>(value)));. More... | |
auto | operator* () -> back_insert_iterator_F & |
A no-op. More... | |
auto | operator++ () -> back_insert_iterator_F & |
A no-op. More... | |
An OutputIterator that transforms the values assigned to it before inserting them into the back of a container.
Definition at line 1500 of file iterators.h.
using kblib::back_insert_iterator_F< Container, F >::difference_type = void |
Definition at line 1513 of file iterators.h.
using kblib::back_insert_iterator_F< Container, F >::iterator_category = std::output_iterator_tag |
Definition at line 1516 of file iterators.h.
using kblib::back_insert_iterator_F< Container, F >::pointer = void |
Definition at line 1514 of file iterators.h.
using kblib::back_insert_iterator_F< Container, F >::reference = void |
Definition at line 1515 of file iterators.h.
using kblib::back_insert_iterator_F< Container, F >::value_type = void |
Definition at line 1512 of file iterators.h.
|
inlineexplicit |
c | The container to be inserted into. |
f | The tranformation to apply to each argument. |
Definition at line 1508 of file iterators.h.
|
inline |
A no-op.
Definition at line 1534 of file iterators.h.
|
inline |
A no-op.
Definition at line 1538 of file iterators.h.
|
inline |
Calls container.push_back(kblib::invoke(fun, std::forward<V>(value)));.
value | The value to transform and insert. |
Definition at line 1526 of file iterators.h.