3#ifndef TETL_ITERATOR_FRONT_INSERT_ITERATOR_HPP
4#define TETL_ITERATOR_FRONT_INSERT_ITERATOR_HPP
6#include <etl/_iterator/tags.hpp>
7#include <etl/_memory/addressof.hpp>
8#include <etl/_utility/move.hpp>
20template <
typename Container>
27 using value_type =
void;
28 using difference_type =
void;
30 using reference =
void;
31 using container_type = Container;
87template <
typename Container>
Definition adjacent_find.hpp:9
constexpr auto front_inserter(Container &c) -> front_insert_iterator< Container >
front_inserter is a convenience function template that constructs a front_insert_iterator for the con...
Definition front_insert_iterator.hpp:88
front_insert_iterator is an LegacyOutputIterator that prepends elements to a container for which it w...
Definition front_insert_iterator.hpp:21
constexpr front_insert_iterator() noexcept=default
Initializes the underlying pointer to container with nullptr.
Container * _container
Definition front_insert_iterator.hpp:23
constexpr auto operator*() -> front_insert_iterator &
Does nothing, this member function is provided to satisfy the requirements of LegacyOutputIterator....
Definition front_insert_iterator.hpp:60
constexpr auto operator++(int) -> front_insert_iterator
Does nothing. These operator overloads are provided to satisfy the requirements of LegacyOutputIterat...
Definition front_insert_iterator.hpp:78
constexpr auto operator=(typename Container::value_type const &value) -> front_insert_iterator &
Inserts the given value value to the container.
Definition front_insert_iterator.hpp:43
constexpr auto operator=(typename Container::value_type &&value) -> front_insert_iterator &
Inserts the given value value to the container.
Definition front_insert_iterator.hpp:50
constexpr front_insert_iterator(Container &container)
Initializes the underlying pointer to the container to addressof(c).
Definition front_insert_iterator.hpp:37
constexpr auto operator++() -> front_insert_iterator &
Does nothing. These operator overloads are provided to satisfy the requirements of LegacyOutputIterat...
Definition front_insert_iterator.hpp:69
Defines the category of an iterator. Each tag is an empty type and corresponds to one of the five (un...
Definition tags.hpp:19