![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
iterator adaptor for insertion into a container More...

Public Types | |
| using | container_type = Container |
| container type to insert into | |
Public Types inherited from std::iterator< output_iterator_tag, void, void, void, void > | |
| using | difference_type |
| iterator difference type | |
| using | iterator_category |
| iterator category tag type | |
| using | pointer |
| iterator pointer type | |
| using | reference |
| iterator reference type | |
| using | value_type |
| iterator value type | |
Public Member Functions | |
| constexpr auto | operator* () noexcept -> basic_insert_iterator & |
| no-op | |
| constexpr auto | operator++ () noexcept -> basic_insert_iterator & |
| no-op | |
| constexpr auto | operator++ (int) noexcept -> basic_insert_iterator & |
| no-op | |
| constexpr auto | operator= (typename Container::value_type &&value) noexcept(is_nothrow_insertable_v< typename Container::value_type && >) -> basic_insert_iterator & |
| inserts a value into the associated container | |
| constexpr auto | operator= (typename Container::value_type const &value) noexcept(is_nothrow_insertable_v< typename Container::value_type const & >) -> basic_insert_iterator & |
| inserts a value into the associated container | |
iterator adaptor for insertion into a container
| Container | associated container type |
| AdaptorMixin | mixin specifying the container insert operation |
The class template basic_insert_iterator is used to define the insert iterator adaptors:
AdaptorMixin specifies the container insert operation (e.g. push_back) and provides storage for the container pointer and other necessary members.
| using std::basic_insert_iterator_detail::basic_insert_iterator< Container, AdaptorMixin >::container_type = Container |
container type to insert into
|
inlineconstexprnoexcept |
no-op
*this
|
inlineconstexprnoexcept |
no-op
*this
|
inlineconstexprnoexcept |
no-op
*this
|
inlineconstexprnoexcept |
inserts a value into the associated container
| value | value to insert |
Inserts std::move(value) into the associated container with a call to the mixin's insert member function.
*this
|
inlineconstexprnoexcept |
inserts a value into the associated container
| value | value to insert |
Inserts value into the associated container with a call to the mixin's insert member function.
*this