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/tuple.swap below:

23 General utilities library [utilities]

23 General utilities library [utilities] 23.5 Tuples [tuple] 23.5.3 Class template tuple [tuple.tuple] 23.5.3.3 swap [tuple.swap]

void swap(tuple& rhs) noexcept(see below);

Effects: Calls swap for each element in *this and its corresponding element in rhs.

Remarks: The expression inside noexcept is equivalent to the logical and of the following expressions:

is_nothrow_swappable_v<Ti>

where Ti is the ith type in Types.

Throws: Nothing unless one of the element-wise swap calls throws an exception.


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