名前空間
変種
操作

std::swap(std::basic_regex)

提供: cppreference.com
< cpp‎ | regex‎ | basic regex
template<class CharT, class Traits >
void swap( basic_regex<CharT,Traits>&lhs, basic_regex<CharT,Traits>&rhs )noexcept;
(C++11以上)

std::swap アルゴリズムの std::basic_regex に対するオーバーロード。 lhsrhs の状態を交換します。 実質的に lhs.swap(rhs) を呼びます。

目次

[編集]引数

lhs, rhs - 入れ替える正規表現

[編集]戻り値

(なし)

[編集]

[編集]関連項目

内容を入れ替えます
(パブリックメンバ関数)[edit]
close