W3cubDocs

/C++

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

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.

Example

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/regex/regex_iterator/operator*