Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | regex‎ | regex iterator
Revision as of 20:52, 31 May 2013 by P12bot (Talk | contribs)

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

Extracts the current std::regex_match from a regex_iterator:

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

Example