Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

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

Returns a pointer or reference to the current match.

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

Returns a pointer or reference to the current match.

Return value

1) Returns a reference to the current match.
2) Returns a pointer to the current match.

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

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.