insert_iterator&
operator=(const typename Container::value_type& value); // (1) C++03
constexpr insert_iterator&
operator=(const typename Container::value_type& value); // (1) C++20
insert_iterator&
operator=(typename Container::value_type&& value); // (2) C++11
constexpr insert_iterator&
operator=(typename Container::value_type&& value); // (2) C++20
概要
値を出力する
効果
-
(1) :
iter = container->insert(iter, value); ++iter;
-
(2) :
iter = container->insert(iter, std::move(value)); ++iter;
戻り値
*this