A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/variant.specalg below:

[variant.specalg]

23 General utilities library [utilities] 23.7 Variants [variant] 23.7.10 Specialized algorithms [variant.specalg]

template <class... Types> void swap(variant<Types...>& v, variant<Types...>& w) noexcept(see below);

1 #

Effects: Equivalent to v.swap(w).

2 #

Remarks: This function shall not participate in overload resolution unless is_­move_­constructible_­v<Ti> && is_­swappable_­v<Ti> is true for all i. The expression inside noexcept is equivalent to noexcept(v.swap(w)).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4