std::match_results::basic_string

From Cppreference

Jump to: navigation, search
explicit match_results( const Allocator& a = Allocator() );
(1) (C++11 feature)
match_results( const match_results& rhs );
(2) (C++11 feature)
match_results( match_results&& rhs );
(3) (C++11 feature)

1) Default-constructs a match_result. Has no fully-establish result state (ready() != true).

2) Copy-constructs a match_result.

3) Move-constructs a match_result.

Accessible constructors may only be used to default-construct, copy-construct, or move-construct objects of the match-results class.

[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

  (C++11 feature)