名前空間
変種
操作

std::swap(std::tuple)

提供: cppreference.com
< cpp‎ | utility‎ | tuple

template< class... Types >
void swap( tuple<Types...>& lhs, tuple<Types...>& rhs );
(C++11およびそれ以降)
lhsrhsのコンテンツを交換します。 lhs.swap(rhs)に相当.
Original:
Swaps the contents of lhs and rhs. Equivalent to lhs.swap(rhs).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

lhs, rhs -
その内容は交換するタプル
Original:
tuples whose contents to swap
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

(なし)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 例外

noexcept specification:  (C++11およびそれ以降)
noexcept(noexcept(lhs.swap(rhs)))

[編集] も参照してください