std::match_results<BidirIt,Alloc>:: begin, std::match_results<BidirIt,Alloc>:: cbegin
From cppreference.net
<
cpp
|
regex
|
match results
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::match_results
| Member functions | ||||
| State | ||||
| Element access | ||||
| Iterators | ||||
|
match_results::begin
match_results::cbegin
|
||||
| Format | ||||
| Modifiers | ||||
| Non-member functions | ||||
|
(until C++20)
|
||||
|
iterator begin
(
)
noexcept
;
|
(自 C++11 起) | |
|
const_iterator begin
(
)
const
noexcept
;
|
(自 C++11 起) | |
|
const_iterator cbegin
(
)
const
noexcept
;
|
(自 C++11 起) | |
返回指向子匹配列表起始位置的迭代器。若匹配成功,该迭代器将指向整个匹配表达式。
目录 |
参数
(无)
返回值
指向第一个子匹配的迭代器。
复杂度
常量。
参见
|
返回指向子匹配列表末尾的迭代器
(公开成员函数) |