std::sub_match<BidirIt>::swap
From cppreference.com
| void swap( sub_match& s ) noexcept(/* see below */); |
(since C++11) | |
Exchanges the contents of two sub-match objects. Equivalent to
this->pair<BidirIt, BidirIt>::swap(s);
std::swap(matched, s.matched);
Contents |
[edit] Parameters
| s | - | a sub_match to swap with
|
| Type requirements | ||
-BidirIt must meet the requirements of LegacySwappable.
| ||