|
FastLED 3.9.15
|
Back insert iterator - an output iterator that inserts elements at the end of a container.
This is similar to std::back_insert_iterator and provides a convenient way to insert elements into containers that support push_back() (like fl::vector, fl::FixedVector, fl::InlinedVector).
Usage example:
Or use in algorithm-style iteration:
Definition at line 75 of file iterator.h.
#include <iterator.h>
Public Types | |
| typedef Container | container_type |
| typedef Container::value_type | container_value_type |
| typedef void | difference_type |
| typedef void | iterator_category |
| typedef void | pointer |
| typedef void | reference |
| typedef void | value_type |
Public Member Functions | |
| back_insert_iterator (Container &c) FL_NOEXCEPT | |
| back_insert_iterator & | operator* () FL_NOEXCEPT |
| back_insert_iterator & | operator++ () FL_NOEXCEPT |
| back_insert_iterator | operator++ (int) FL_NOEXCEPT |
| template<typename T> | |
| back_insert_iterator & | operator= (const T &value) FL_NOEXCEPT |
| template<typename T> | |
| back_insert_iterator & | operator= (T &&value) FL_NOEXCEPT |
Protected Attributes | |
| Container * | container |