Namespaces
Variants

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

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

交换 * this rhs 的内容,如同执行 ranges:: swap ( static_cast < Base & > ( * this ) , static_cast < Base & > ( rhs ) ) ;

异常

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

参见

tagged 对象特化 swap 操作
(函数)