std::regex_iterator::operator*,operator-> - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::regex_iterator::operator*,operator->

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

const value_type& operator*() const; | (1) | (since C++11)
const value_type* operator->() const; | (2) | (since C++11)

Extracts the current std::match_results from a `regex_iterator`:

1) Returns a reference to the current std::match_results.
2) Returns a pointer to the current std::match_results.

### [edit] Example

| This section is incomplete Reason: no example

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/regex/regex_iterator/operator*&oldid=80591"
Category:

- Todo no example