Namespaces
Variants

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

From cppreference.net
constexpr void swap ( tagged & rhs ) noexcept ( /* siehe unten */ )
requires Swappable < Base > ;

Tausche den Inhalt von * this und rhs , als ob durch ranges:: swap ( static_cast < Base & > ( * this ) , static_cast < Base & > ( rhs ) ) ; .

Exceptions

noexcept Spezifikation:
noexcept ( noexcept ( ranges:: swap ( std:: declval < Base & > ( ) , std:: declval < Base & > ( ) ) ) )

Siehe auch

spezialisiert swap für tagged Objekte
(Funktion)