cppreference.com
建立賬戶
登入
名稱空間
頁面
討論
變體
檢視
檢視
編輯
歷史
操作
std::match_results<BidirIt,Alloc>::
end,
std::match_results<BidirIt,Alloc>::
cend
來自 cppreference.com
<
cpp
|
正則表示式
|
匹配結果
C++
編譯器支援
自由(freestanding)與宿主(hosted)
語言
標準庫
標準庫標頭檔案
具名要求
特性測試宏
(C++20)
語言支援庫
概念庫
(C++20)
診斷庫
記憶體管理庫
超程式設計庫
(C++11)
通用工具庫
容器庫
迭代器庫
範圍庫
(C++20)
演算法庫
字串庫
文字處理庫
數值庫
日期和時間庫
輸入/輸出庫
檔案系統庫
(C++17)
併發支援庫
(C++11)
執行控制庫
(C++26)
技術規範
符號索引
外部庫
[編輯]
文字處理庫
本地化庫
正則表示式庫
(C++11)
格式化庫
(C++20)
空終止序列工具
位元組字串
多位元組字串
寬字串
原生數值轉換
to_chars
(C++17)
to_chars_result
(C++17)
from_chars
(C++17)
from_chars_result
(C++17)
chars_format
(C++17)
文字編碼標識
text_encoding
(C++26)
[編輯]
正則表示式庫
類
basic_regex
(C++11)
sub_match
(C++11)
match_results
(C++11)
演算法
regex_match
(C++11)
regex_search
(C++11)
regex_replace
(C++11)
迭代器
regex_iterator
(C++11)
regex_token_iterator
(C++11)
異常
regex_error
(C++11)
特性
regex_traits
(C++11)
常量
syntax_option_type
(C++11)
match_flag_type
(C++11)
error_type
(C++11)
正則表示式語法
修改後的 ECMAScript-262
(C++11)
[編輯]
std::match_results
成員函式
match_results::match_results
match_results::~match_results
match_results::operator=
match_results::get_allocator
狀態
match_results::ready
元素訪問
match_results::size
match_results::max_size
match_results::empty
match_results::length
match_results::position
match_results::str
match_results::operator[]
match_results::prefix
match_results::suffix
迭代器
match_results::begin
match_results::cbegin
match_results::end
match_results::cend
格式
match_results::format
修改器
match_results::swap
非成員函式
operator==
operator!=
(直至 C++20)
swap
(std::match_results)
[編輯]
iterator end
(
)
noexcept
;
(C++11 起)
const_iterator end
(
)
const
noexcept
;
(C++11 起)
const_iterator cend
(
)
const
noexcept
;
(C++11 起)
返回子匹配列表末尾的迭代器。
目錄
1
引數
2
返回值
3
複雜度
4
參見
[
編輯
]
引數
(無)
[
編輯
]
返回值
指向最後一個子匹配之後元素的迭代器。
[
編輯
]
複雜度
常數時間。
[
編輯
]
參閱
begin
cbegin
返回子匹配列表開頭的迭代器
(公共成員函式)
[編輯]