std::regex_token_iterator<BidirIt,CharT,Traits>:: operator*, operator->
From cppreference.net
<
cpp
|
regex
|
regex token iterator
C++
Text processing library
| Localization library | |||||||||||||||||||||||||
| Regular expressions library (C++11) | |||||||||||||||||||||||||
| Formatting library (C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
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) | (自 C++11 起) |
|
const
value_type
*
operator
-
>
(
)
const
;
|
(2) | (自 C++11 起) |
返回指向当前匹配项的指针或引用。
返回值
1)
返回当前匹配的引用。
2)
返回指向当前匹配项的指针。
若迭代器为序列末尾迭代器,则行为未定义。