Namespaces
Variants

std::experimental::ranges::tagged<Base,Tags...>:: swap

From cppreference.net
constexpr void swap ( tagged & rhs ) noexcept ( /* voir ci-dessous */ )
requires Swappable < Base > ;

Échange le contenu de * this et rhs , comme par ranges:: swap ( static_cast < Base & > ( * this ) , static_cast < Base & > ( rhs ) ) ; .

Exceptions

noexcept spécification :
noexcept ( noexcept ( ranges:: swap ( std:: declval < Base & > ( ) , std:: declval < Base & > ( ) ) ) )

Voir aussi

spécialise swap pour les objets tagged
(fonction)