Scroll to navigation

std::regex_token_iterator::operator*,operator->(3) C++ Standard Libary std::regex_token_iterator::operator*,operator->(3)

NAME

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

Synopsis


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.

2022.07.31 http://cppreference.com