##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::regex_iterator::operator=

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

regex_iterator& operator=( const regex_iterator& other ); |  | (since C++11)

Assigns the contents of `other`.

### [edit] Parameters

other | - | regex iterator to assign

### [edit] Return value

*this.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/regex/regex_iterator/operator%3D&oldid=61477"