Пространства имён
Варианты
Действия

std::front_insert_iterator::operator=

Материал из cppreference.com

 
 
Iterator библиотеки
Iterator примитивов
Original:
Iterator primitives
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iterator_traits
input_iterator_tag
output_iterator_tag
forward_iterator_tag
bidirectional_iterator_tag
random_access_iterator_tag
iterator
Iterator адаптеров
Original:
Iterator adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
reverse_iterator
Поток итераторы
Original:
Stream iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istream_iterator
ostream_iterator
istreambuf_iterator
ostreambuf_iterator
Iterator операций
Original:
Iterator operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
advance
distance
prev(C++11)
next(C++11)
Диапазон доступа
Original:
Range access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
begin(C++11)
end(C++11)
 
std::front_insert_iterator
Член функций
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
front_insert_iterator::front_insert_iterator
front_insert_iterator::operator=
front_insert_iterator::operator*
front_insert_iterator::operator++
front_insert_iterator::operator++(int)
 
front_insert_iterator<Container>&
    operator=( const typename Container::value_type& value );
(1)
front_insert_iterator<Container>&
    operator=( typename Container::value_type&& value );
(2)
Вставка заданного значения value в контейнер.
Original:
Inserts the given value value to the container.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1) Results in container->push_front(value)
2) Results in container->push_front(std::move(value))

[править] Параметры

value -
Значение для вставки
Original:
the value to insert
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] Возвращаемое значение

*this

[править] Пример