std::match_results<BidirIt,Alloc>::swap (3) - Linux Manuals

std::match_results<BidirIt,Alloc>::swap: std::match_results<BidirIt,Alloc>::swap

NAME

std::match_results<BidirIt,Alloc>::swap - std::match_results<BidirIt,Alloc>::swap

Synopsis


void swap( match_results& other ) noexcept; (since C++11)


Exchanges the shared states of two match_results objects.

Parameters


other - the match_results to swap with

Return value


(none)

Example


 This section is incomplete
 Reason: no example

See also


std::swap(std::match_results) specializes the std::swap() algorithm
                              (function template)
(C++11)