etl::back_insert_iterator is a LegacyOutputIterator that appends to a container for which it was constructed. The container's push_back() member function is called whenever the iterator (whether dereferenced or not) is assigned to. Incrementing the etl::back_insert_iterator is a no-op.
More...
#include <back_insert_iterator.hpp>
etl::back_insert_iterator is a LegacyOutputIterator that appends to a container for which it was constructed. The container's push_back() member function is called whenever the iterator (whether dereferenced or not) is assigned to. Incrementing the etl::back_insert_iterator is a no-op.
◆ container_type
◆ difference_type
◆ iterator_category
◆ pointer
◆ reference
◆ value_type
◆ back_insert_iterator() [1/2]
Initializes the underlying pointer to container with nullptr.
◆ back_insert_iterator() [2/2]
Initializes the underlying pointer to the container to etl::addressof(c).
◆ operator*()
Does nothing, this member function is provided to satisfy the requirements of LegacyOutputIterator. It returns the iterator itself, which makes it possible to use code such as *iter = value to output (insert) the value into the underlying container.
◆ operator++() [1/2]
Does nothing. These operator overloads are provided to satisfy the requirements of LegacyOutputIterator. They make it possible for the expressions *iter++=value and *++iter=value to be used to output (insert) a value into the underlying container.
◆ operator++() [2/2]
Does nothing. These operator overloads are provided to satisfy the requirements of LegacyOutputIterator. They make it possible for the expressions *iter++=value and *++iter=value to be used to output (insert) a value into the underlying container.
◆ operator=() [1/2]
Inserts the given value value to the container.
◆ operator=() [2/2]
Inserts the given value value to the container.
The documentation for this struct was generated from the following file: