Namespaces
Variants
Views
Actions

Difference between revisions of "Template:cpp/container/dsc swap2"

From cppreference.com
(formatting)
m (Correction for C++98's adaptors → their `std::swap` is (C++11))
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{dcl list tfun | cpp/container/{{{1|}}}/std_swap | title=std::swap{{small|{{{1|}}}}} | specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm }}
+
{{dsc tfun|cpp/container/{{{1|}}}/swap2|title=std::swap{{dsc small|(std::{{{1|}}})}}|notes={{#switch:{{{1|}}}|stack|queue|priority_queue={{mark c++11}}|#default={{cpp/container/mark std|{{{1|}}}}}}}|specializes the {{lc|std::swap}} algorithm}}

Latest revision as of 20:32, 22 December 2023

|- class="t-dsc"

|

| specializes the std::swap algorithm
(function template) |-