home | help
std::flat_multiset::swap(3)    C++ Standard Libary   std::flat_multiset::swap(3)

NAME
     std::flat_multiset::swap - std::flat_multiset::swap

Synopsis
	void swap( flat_multiset& other ) noexcept;  (since C++23)

	Exchanges the contents of the container adaptor with those of other. Ef-
     fectively
	calls

      ranges::swap(compare, other.compare);
      ranges::swap(c, other.c);

Parameters
	other - container adaptor to exchange the contents with

Return value
	(none)

Exceptions
	(none)

Complexity
	Same as underlying container (typically constant).

Example
	 This section is incomplete
	 Reason: no example

See also
	std::swap(std::flat_multiset) specializes the std::swap algorithm
	(C++23) 		      (function template)

Category:
	  * Todo no example

http://cppreference.com 	   2024.06.10	     std::flat_multiset::swap(3)

home | help