std::regex_token_iterator<BidirIt,CharT,Traits>::operator*, operator->
From cppreference.com
< cpp | regex | regex token iterator
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Text processing library
Regular expressions library (C++11)
Formatting library (C++20)
(C++17)
(C++17)
(C++17)
(C++17)
(C++17)
(C++26)
Regular expressions library
Classes
(C++11)
(C++11)
(C++11)
Algorithms
(C++11)
(C++11)
(C++11)
Iterators
(C++11)
(C++11)
Exceptions
(C++11)
Traits
(C++11)
Constants
(C++11)
(C++11)
(C++11)
Regex Grammar
(C++11)
std::regex_token_iterator
Member functions
Comparisons
Observers
regex_token_iterator::operator*regex_token_iterator::operator->
Modifiers
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.
[edit] 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.