在线文档教程
C++
规律表达 | Regular expressions

std::match_results::match_results

STD:匹配[医]结果:匹配[医]结果

explicit match_results( const Allocator& a = Allocator() (1)(since C++11)
match_results( const match_results& rhs (2)(since C++11)
match_results( match_results&& rhs (3)(since C++11)

1%29默认构造函数。构造没有建立结果状态%28的匹配结果ready() != true29%。

2%29拷贝构造函数。的副本构造匹配结果。rhs...

3%29移动构造函数。的内容构造匹配结果。rhs使用移动语义。rhs在调用后处于有效但未指定的状态。

参数

a-allocator to use for all memory allocations of this container
rhs-another match_result to use as source to initialize the match_result with

例外

1-2%29%280%29

3%29

noexcept规格:

noexcept

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/regex/Match[医]结果/匹配[医]结果