FreeBSD Manual Pages
std::match_...atch_results(3) C++ Standard Libarystd::match_...atch_results(3) NAME std::match_results::match_results - std::match_results::match_results Synopsis match_results() : match_results(Allocator()) {} (1) (since C++11) explicit match_results( const Allocator& a ); (2) (since C++11) match_results( const match_results& rhs ); (3) (since C++11) match_results( const match_results& rhs, const Allocator& a ); (4) (since C++11) match_results( match_results&& rhs ) noexcept; (5) (since C++11) match_results( match_results&& rhs, const Allocator& a ); (6) (since C++11) 1) Default constructor. Constructs a match result with no estab- lished result state (ready() != true). 2) Constructs a match result with no established result state (ready() != true) using a copy of a as the allocator. 3) Copy constructor. Constructs a match result with a copy of rhs. 4) Constructs a match result with a copy of rhs, and uses a copy of a as the allocator. 5) Move constructor. Constructs a match result with the contents of rhs using move semantics. rhs is in valid, but unspecified state after the call. 6) Constructs a match result with the contents of rhs using move se- mantics, and uses a copy of a as the allocator. 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_results to use as source to initialize the match_results with Exceptions 1-4) May throw implementation-defined exceptions. 6) Throws nothing if a == rhs.get_allocator() is true. Example This section is incomplete Reason: no example Defect reports The following behavior-changing defect reports were applied retroac- tively to previously published C++ standards. DR Applied to Behavior as published Correct behavior LWG 2195 C++11 the constructors required by added AllocatorAwareContainer were missing P0935R0 C++11 default constructor was explicit made implicit Category: * Todo no example http://cppreference.com 2024.06.10 std::match_...atch_results(3)
NAME | Synopsis | Parameters | Exceptions | Example | Category:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::match_results::match_results&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
