W3cubDocs

/C++

std::regex_token_iterator<BidirIt,CharT,Traits>::operator*, operator->

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.

Return value

A pointer or reference to the current match.

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