std::swap(std::match_results)
提供: cppreference.com
< cpp | regex | match results
| ヘッダ <regex> で定義
|
||
| template< class BidirIt, class Alloc > void swap( match_results<BidirIt,Alloc>& x1, |
(C++11以上) | |
std::swap アルゴリズムの std::match_results に対する特殊化。 x1 と x2 の内容を交換します。 実質的に x1.swap(x2) を呼びます。
目次 |
[編集] 引数
| x1, x2 | - | 内容を入れ替える match_results オブジェクト |
| 型の要件 | ||
-BidirIt は LegacyBidirectionalIterator の要件を満たさなければなりません。
| ||
-Alloc は Allocator の要件を満たさなければなりません。
| ||
[編集] 戻り値
(なし)
[編集] 例
| This section is incomplete Reason: no example |
[編集] 関連項目
| 内容を入れ替えます (パブリックメンバ関数) |