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

constexpr void swap(tagged& rhs) noexcept(/* see below */)
  requires ranges::Swappable<Base>;

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

异常

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

参阅

tagged 对象特化 swap
(函数)