首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::match_results::match_results

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

代码语言:txt
复制
 © cppreference.com

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

扫码关注腾讯云开发者

领取腾讯云代金券