Difference between revisions of "Template:cpp/container/dsc swap2"
From cppreference.com
m (fix C++ rev. for non-member `swap`: "mark std" handles adaptors too) |
m (Correction for C++98's adaptors → their `std::swap` is (C++11)) |
||
Line 1: | Line 1: | ||
− | {{dsc tfun|cpp/container/{{{1|}}}/swap2|title=std::swap{{dsc small|(std::{{{1|}}})}}|notes={{cpp/container/mark std|{{{1|}}}}}|specializes the {{lc|std::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)
|-