std::swap(std::match_results)
From cppreference.com
< cpp | regex | match results
| ヘッダ <regex> で定義 |
||
| template< class BidirIt, class Alloc > void swap( match_results<BidirIt,Alloc>& x1, |
(C++11以降) | |
std::match_results のための std::swap アルゴリズムの特殊化。 x1 の内容を x2 の内容と交換します。実質的に x1.swap(x2) を呼び出します。
目次 |
[編集] パラメータ
| x1, x2 | - | 交換される内容を持つ match_results オブジェクト |
| 型要件 | ||
-BidirIt は LegacyBidirectionalIterator の要件を満たしている必要があります。 | ||
-Alloc は Allocator の要件を満たす必要があります。 | ||
[編集] 戻り値
(なし)
[編集] 例
| このセクションは未完成です 理由: 例がありません |
[編集] 関連項目
| 内容を交換する (public member function) |