std::insert_iterator::operator* - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::insert_iterator::operator*

From cppreference.com
< cpp‎ | iterator‎ | insert iterator

insert_iterator& operator*(); |  |

Does nothing, this member function is provided to satisfy the requirements of `OutputIterator`.

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.

### [edit] Parameters

(none)

### [edit] Return value

*this

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/iterator/insert_iterator/operator*&oldid=42353"