std::match_results::match_results
来自cppreference.com
< cpp | regex | match results
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
explicit match_results( const Allocator& a = Allocator() ); |
(1) | (C++11 起) |
match_results( const match_results& rhs ); |
(2) | (C++11 起) |
match_results( match_results&& rhs ); |
(3) | (C++11 起) |
1) Default-constructor. Constructs a match result with no established result state (ready() != true).
2) Copy-constructor. Constructs a match result with a copy of
rhs
.3) Move-constructor. Constructs a match result with the contents of
rhs
using move semantics. rhs
is in valid, but unspecified state after the call.[编辑] 参数
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)
(无)
3)