std::match_results::match_results
explicit match_results( const Allocator& a = Allocator() );
|
(1) |
(C++11 起) |
match_results( const match_results& rhs );
|
(2) |
(C++11 起) |
match_results( match_results&& rhs ) noexcept;
|
(3) |
(C++11 起) |
|
|
|
1) 默认构造函数。构造不带已建立结果状态( ready() != true )的 match_result 。
2) 复制构造函数。以 rhs
的副本构造 match_result 。
3) 移动构造函数。用移动语义构造拥有 rhs
内容的 match_result 。调用后, rhs
在合法但未指定的状态。
参数
a
|
-
|
用于此容器所有内存分配的分配器
|
rhs
|
-
|
用作源以初始化 match_result 的另一 match_result
|
异常
1-2) (无)
版本历史
(当前 | 先前) 2017年9月28日 (四) 21:01 Fruderica(讨论 | 贡献) . . (942字节) (-476) . . (撤销)
(当前 | 先前) 2013年7月2日 (二) 11:12 P12bot(讨论 | 贡献) 小 . . (1,418字节) (-128) . . (撤销)
(当前 | 先前) 2012年11月2日 (五) 12:18 P12bot(讨论 | 贡献) 小 . . (1,546字节) (+361) . . (撤销)
(当前 | 先前) 2012年10月27日 (六) 09:06 P12(讨论 | 贡献) 小 . . (1,185字节) (0) . . (撤销)
(当前 | 先前) 2012年10月26日 (五) 06:00 TranslationBot(讨论 | 贡献) . . (1,185字节) (-25) . . (撤销)
(当前 | 先前) 2012年10月25日 (四) 15:32 P12(讨论 | 贡献) 小 . . (1,210字节) (0) . . (撤销)
(当前 | 先前) 2012年10月25日 (四) 12:00 TranslationBot(讨论 | 贡献) . . (1,210字节) (+1,210) . .