# std::regex_token_iterator<BidirIt,CharT,Traits>::operator=

> C++ Atlas: `cppatlas.com/w/cpp/regex/regex_token_iterator/operator=` | Source: https://en.cppreference.com/w/cpp/regex/regex_token_iterator/operator= | Domain: Regular expressions | Standards: C++11

Assigns the contents of other.

## Official Specification Summary (cppreference)

```cpp
regex_token_iterator& operator=( const regex_token_iterator& other ); // (since C++11)
```

Assigns the contents of `other`.

### Parameters

- `other` - regex token iterator to assign

### Return value

`*this`

---
Attribution: content from https://en.cppreference.com/w/cpp/regex/regex_token_iterator/operator= (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.