Namespaces
Variants
Views
Actions

std::match_results::match_results

From cppreference.com
< cpp‎ | regex‎ | match results
Revision as of 15:46, 1 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

[edit] 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

[edit] Exceptions

1-2) (none)
3)
noexcept specification:  
noexcept