名稱空間
變體
操作

std::match_results<BidirIt,Alloc>::max_size

來自 cppreference.com
< cpp‎ | regex‎ | match results
 
 
 
正則表示式庫
(C++11)
演算法
迭代器
異常
特性
常量
(C++11)
正則表示式語法
 
 
size_type max_size() const noexcept;
(C++11 起)

返回 match_results 型別由於系統或庫實現限制而能夠容納的子匹配的最大數量,即對於最大數量的子匹配,std::distance(begin(), end())

[編輯] 引數

(無)

[編輯] 返回值

子匹配的最大數量。

[編輯] 複雜度

常數時間。