Namespaces
Variants
Views
Actions

std::regex_token_iterator::operator*, operator->

From cppreference.com
< cpp‎ | regex‎ | regex token iterator
Revision as of 17:21, 5 June 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
const value_type& operator*() const;
(since C++11)
const value_type* operator->() const;
(since C++11)

Returns a pointer or reference to the current match.

The behavior is undefined if the iterator is end-of-sequence iterator.

[edit] Parameters

other - regex iterator to assign

[edit] Return value

A pointer or reference to the current match.