std::match_results::match_results
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) 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.Parameters
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 |
Exceptions
1-2) (none)
3)
noexcept
specification: noexcept
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/regex/match_results/match_results