René's URL Explorer Experiment


Title: std::swap - cppreference.com

Generator: MediaWiki 1.43.8

direct link

Domain: en.cppreference.com

format-detectiontelephone=no

Links:

cppreference.comhttps://en.cppreference.com/
Create accounthttps://en.cppreference.com/index.php?title=Special:CreateAccount&returnto=cpp%2Falgorithm%2Fswap
Log inhttps://en.cppreference.com/index.php?title=Special:UserLogin&returnto=cpp%2Falgorithm%2Fswap
Pagehttps://en.cppreference.com/cpp/algorithm/swap
Discussionhttps://en.cppreference.com/Talk:cpp/algorithm/swap
https://en.cppreference.com/cpp/algorithm/swap
Readhttps://en.cppreference.com/cpp/algorithm/swap
View sourcehttps://en.cppreference.com/index.php?title=cpp/algorithm/swap&action=edit
View historyhttps://en.cppreference.com/index.php?title=cpp/algorithm/swap&action=history
https://en.cppreference.com/cpp/algorithm/swap
cpphttps://en.cppreference.com/cpp
algorithmhttps://en.cppreference.com/cpp/algorithm
C++https://en.cppreference.com/cpp
Compiler supporthttps://en.cppreference.com/cpp/compiler_support
Freestanding and hostedhttps://en.cppreference.com/cpp/freestanding
Languagehttps://en.cppreference.com/cpp/language
Standard libraryhttps://en.cppreference.com/cpp/standard_library
Standard library headershttps://en.cppreference.com/cpp/header
Named requirementshttps://en.cppreference.com/cpp/named_req
Feature test macroshttps://en.cppreference.com/cpp/feature_test
Language support libraryhttps://en.cppreference.com/cpp/utility#Language_support
Concepts libraryhttps://en.cppreference.com/cpp/concepts
Diagnostics libraryhttps://en.cppreference.com/cpp/error
Memory management libraryhttps://en.cppreference.com/cpp/memory
Metaprogramming libraryhttps://en.cppreference.com/cpp/meta
General utilities libraryhttps://en.cppreference.com/cpp/utility
Containers libraryhttps://en.cppreference.com/cpp/container
Iterators libraryhttps://en.cppreference.com/cpp/iterator
Ranges libraryhttps://en.cppreference.com/cpp/ranges
Algorithms libraryhttps://en.cppreference.com/cpp/algorithm
Strings libraryhttps://en.cppreference.com/cpp/string
Text processing libraryhttps://en.cppreference.com/cpp/text
Numerics libraryhttps://en.cppreference.com/cpp/numeric
Date and time libraryhttps://en.cppreference.com/cpp/chrono
Input/output libraryhttps://en.cppreference.com/cpp/io
Filesystem libraryhttps://en.cppreference.com/cpp/filesystem
Concurrency support libraryhttps://en.cppreference.com/cpp/thread
Execution control libraryhttps://en.cppreference.com/cpp/execution
Technical specificationshttps://en.cppreference.com/cpp/experimental
Symbols indexhttps://en.cppreference.com/cpp/symbol_index
External librarieshttps://en.cppreference.com/cpp/links/libs
[edit]https://cppreference.com/index.php?title=Template:cpp/navbar_content&action=edit
Algorithm libraryhttps://en.cppreference.com/cpp/algorithm
Constrained algorithms and algorithms on rangeshttps://en.cppreference.com/cpp/algorithm/ranges
ranges::copyhttps://en.cppreference.com/cpp/algorithm/ranges/copy
ranges::sorthttps://en.cppreference.com/cpp/algorithm/ranges/sort
Non-modifying sequence operationshttps://en.cppreference.com/cpp/algorithm#Non-modifying_sequence_operations
Batch operationshttps://en.cppreference.com/cpp/algorithm#Batch_operations
for_eachhttps://en.cppreference.com/cpp/algorithm/for_each
for_each_nhttps://en.cppreference.com/cpp/algorithm/for_each_n
Search operationshttps://en.cppreference.com/cpp/algorithm#Search_operations
all_ofany_ofnone_ofhttps://en.cppreference.com/cpp/algorithm/all_any_none_of
countcount_ifhttps://en.cppreference.com/cpp/algorithm/count
mismatchhttps://en.cppreference.com/cpp/algorithm/mismatch
equalhttps://en.cppreference.com/cpp/algorithm/equal
findfind_iffind_if_nothttps://en.cppreference.com/cpp/algorithm/find
find_endhttps://en.cppreference.com/cpp/algorithm/find_end
find_first_ofhttps://en.cppreference.com/cpp/algorithm/find_first_of
adjacent_findhttps://en.cppreference.com/cpp/algorithm/adjacent_find
searchhttps://en.cppreference.com/cpp/algorithm/search
search_nhttps://en.cppreference.com/cpp/algorithm/search_n
Modifying sequence operationshttps://en.cppreference.com/cpp/algorithm#Modifying_sequence_operations
Copy operationshttps://en.cppreference.com/cpp/algorithm#Copy_operations
copycopy_ifhttps://en.cppreference.com/cpp/algorithm/copy
copy_backwardhttps://en.cppreference.com/cpp/algorithm/copy_backward
copy_nhttps://en.cppreference.com/cpp/algorithm/copy_n
movehttps://en.cppreference.com/cpp/algorithm/move
move_backwardhttps://en.cppreference.com/cpp/algorithm/move_backward
Swap operationshttps://en.cppreference.com/cpp/algorithm#Swap_operations
iter_swaphttps://en.cppreference.com/cpp/algorithm/iter_swap
swap_rangeshttps://en.cppreference.com/cpp/algorithm/swap_ranges
Transformation operationshttps://en.cppreference.com/cpp/algorithm#Transformation_operations
replacereplace_ifhttps://en.cppreference.com/cpp/algorithm/replace
transformhttps://en.cppreference.com/cpp/algorithm/transform
replace_copyreplace_copy_ifhttps://en.cppreference.com/cpp/algorithm/replace_copy
Generation operationshttps://en.cppreference.com/cpp/algorithm#Generation_operations
fillhttps://en.cppreference.com/cpp/algorithm/fill
fill_nhttps://en.cppreference.com/cpp/algorithm/fill_n
generatehttps://en.cppreference.com/cpp/algorithm/generate
generate_nhttps://en.cppreference.com/cpp/algorithm/generate_n
Removing operationshttps://en.cppreference.com/cpp/algorithm#Removing_operations
removeremove_ifhttps://en.cppreference.com/cpp/algorithm/remove
uniquehttps://en.cppreference.com/cpp/algorithm/unique
remove_copyremove_copy_ifhttps://en.cppreference.com/cpp/algorithm/remove_copy
unique_copyhttps://en.cppreference.com/cpp/algorithm/unique_copy
Order-changing operationshttps://en.cppreference.com/cpp/algorithm#Order-changing_operations
reversehttps://en.cppreference.com/cpp/algorithm/reverse
reverse_copyhttps://en.cppreference.com/cpp/algorithm/reverse_copy
rotatehttps://en.cppreference.com/cpp/algorithm/rotate
rotate_copyhttps://en.cppreference.com/cpp/algorithm/rotate_copy
random_shuffleshufflehttps://en.cppreference.com/cpp/algorithm/random_shuffle
shift_leftshift_righthttps://en.cppreference.com/cpp/algorithm/shift
Sampling operationshttps://en.cppreference.com/cpp/algorithm#Sampling_operations
samplehttps://en.cppreference.com/cpp/algorithm/sample
Sorting and related operationshttps://en.cppreference.com/cpp/algorithm#Sorting_and_related_operations
Partitioning operationshttps://en.cppreference.com/cpp/algorithm#Partitioning_operations
partitionhttps://en.cppreference.com/cpp/algorithm/partition
partition_copyhttps://en.cppreference.com/cpp/algorithm/partition_copy
stable_partitionhttps://en.cppreference.com/cpp/algorithm/stable_partition
is_partitionedhttps://en.cppreference.com/cpp/algorithm/is_partitioned
partition_pointhttps://en.cppreference.com/cpp/algorithm/partition_point
Sorting operationshttps://en.cppreference.com/cpp/algorithm#Sorting_operations
sorthttps://en.cppreference.com/cpp/algorithm/sort
stable_sorthttps://en.cppreference.com/cpp/algorithm/stable_sort
partial_sorthttps://en.cppreference.com/cpp/algorithm/partial_sort
partial_sort_copyhttps://en.cppreference.com/cpp/algorithm/partial_sort_copy
is_sortedhttps://en.cppreference.com/cpp/algorithm/is_sorted
is_sorted_untilhttps://en.cppreference.com/cpp/algorithm/is_sorted_until
nth_elementhttps://en.cppreference.com/cpp/algorithm/nth_element
Binary search operations(on partitioned ranges)https://en.cppreference.com/cpp/algorithm#Binary_search_operations_(on_partitioned_ranges)
lower_boundhttps://en.cppreference.com/cpp/algorithm/lower_bound
upper_boundhttps://en.cppreference.com/cpp/algorithm/upper_bound
equal_rangehttps://en.cppreference.com/cpp/algorithm/equal_range
binary_searchhttps://en.cppreference.com/cpp/algorithm/binary_search
Set operations (on sorted ranges)https://en.cppreference.com/cpp/algorithm#Set_operations_(on_sorted_ranges)
includeshttps://en.cppreference.com/cpp/algorithm/includes
set_unionhttps://en.cppreference.com/cpp/algorithm/set_union
set_intersectionhttps://en.cppreference.com/cpp/algorithm/set_intersection
set_differencehttps://en.cppreference.com/cpp/algorithm/set_difference
set_symmetric_differencehttps://en.cppreference.com/cpp/algorithm/set_symmetric_difference
Merge operations (on sorted ranges)https://en.cppreference.com/cpp/algorithm#Merge_operations_(on_sorted_ranges)
mergehttps://en.cppreference.com/cpp/algorithm/merge
inplace_mergehttps://en.cppreference.com/cpp/algorithm/inplace_merge
Heap operationshttps://en.cppreference.com/cpp/algorithm#Heap_operations
push_heaphttps://en.cppreference.com/cpp/algorithm/push_heap
pop_heaphttps://en.cppreference.com/cpp/algorithm/pop_heap
make_heaphttps://en.cppreference.com/cpp/algorithm/make_heap
sort_heaphttps://en.cppreference.com/cpp/algorithm/sort_heap
is_heaphttps://en.cppreference.com/cpp/algorithm/is_heap
is_heap_untilhttps://en.cppreference.com/cpp/algorithm/is_heap_until
Minimum/maximum operationshttps://en.cppreference.com/cpp/algorithm#Minimum/maximum_operations
maxhttps://en.cppreference.com/cpp/algorithm/max
minhttps://en.cppreference.com/cpp/algorithm/min
minmaxhttps://en.cppreference.com/cpp/algorithm/minmax
clamphttps://en.cppreference.com/cpp/algorithm/clamp
max_elementhttps://en.cppreference.com/cpp/algorithm/max_element
min_elementhttps://en.cppreference.com/cpp/algorithm/min_element
minmax_elementhttps://en.cppreference.com/cpp/algorithm/minmax_element
Lexicographical comparison operationshttps://en.cppreference.com/cpp/algorithm#Lexicographical_comparison_operations
lexicographical_comparehttps://en.cppreference.com/cpp/algorithm/lexicographical_compare
lexicographical_compare_three_wayhttps://en.cppreference.com/cpp/algorithm/lexicographical_compare_three_way
Permutation operationshttps://en.cppreference.com/cpp/algorithm#Permutation_operations
next_permutationhttps://en.cppreference.com/cpp/algorithm/next_permutation
prev_permutationhttps://en.cppreference.com/cpp/algorithm/prev_permutation
is_permutationhttps://en.cppreference.com/cpp/algorithm/is_permutation
Execution policies (C++17)https://en.cppreference.com/cpp/algorithm#Execution_policies
is_execution_policyhttps://en.cppreference.com/cpp/algorithm/is_execution_policy
execution::seqexecution::parexecution::par_unseqexecution::unseqhttps://en.cppreference.com/cpp/algorithm/execution_policy_tag
execution-policyhttps://en.cppreference.com/cpp/algorithm/execution-policy
execution::sequenced_policyexecution::parallel_policyexecution::parallel_unsequenced_policyexecution::parallel_unsequencedhttps://en.cppreference.com/cpp/algorithm/execution_policy_tag_t
Numeric operationshttps://en.cppreference.com/cpp/algorithm#Numeric_operations
iotahttps://en.cppreference.com/cpp/algorithm/iota
inner_producthttps://en.cppreference.com/cpp/algorithm/inner_product
reducehttps://en.cppreference.com/cpp/algorithm/reduce
accumulatehttps://en.cppreference.com/cpp/algorithm/accumulate
adjacent_differencehttps://en.cppreference.com/cpp/algorithm/adjacent_difference
transform_reducehttps://en.cppreference.com/cpp/algorithm/transform_reduce
partial_sumhttps://en.cppreference.com/cpp/algorithm/partial_sum
inclusive_scanhttps://en.cppreference.com/cpp/algorithm/inclusive_scan
exclusive_scanhttps://en.cppreference.com/cpp/algorithm/exclusive_scan
transform_inclusive_scanhttps://en.cppreference.com/cpp/algorithm/transform_inclusive_scan
transform_exclusive_scanhttps://en.cppreference.com/cpp/algorithm/transform_exclusive_scan
Specialized algorithmshttps://en.cppreference.com/cpp/algorithm/memory
Specialized algorithmshttps://en.cppreference.com/cpp/algorithm#Specialized_random_algorithms
ranges::generate_randomhttps://en.cppreference.com/cpp/algorithm/ranges/generate_random
C libraryhttps://en.cppreference.com/cpp/algorithm#C_library
qsorthttps://en.cppreference.com/cpp/algorithm/qsort
bsearchhttps://en.cppreference.com/cpp/algorithm/bsearch
[edit]https://cppreference.com/index.php?title=Template:cpp/algorithm/navbar_content&action=edit
https://en.cppreference.com/cpp/header/algorithm
https://en.cppreference.com/cpp/header/utility
https://en.cppreference.com/cpp/header/string_view
1 Parametershttps://en.cppreference.com/cpp/algorithm/swap#Parameters
2 Return valuehttps://en.cppreference.com/cpp/algorithm/swap#Return_value
3 Exceptionshttps://en.cppreference.com/cpp/algorithm/swap#Exceptions
4 Complexityhttps://en.cppreference.com/cpp/algorithm/swap#Complexity
5 Specializationshttps://en.cppreference.com/cpp/algorithm/swap#Specializations
6 Examplehttps://en.cppreference.com/cpp/algorithm/swap#Example
7 Defect reportshttps://en.cppreference.com/cpp/algorithm/swap#Defect_reports
8 See alsohttps://en.cppreference.com/cpp/algorithm/swap#See_also
CopyConstructiblehttps://en.cppreference.com/cpp/named_req/CopyConstructible
CopyAssignablehttps://en.cppreference.com/cpp/named_req/CopyAssignable
MoveConstructiblehttps://en.cppreference.com/cpp/named_req/MoveConstructible
MoveAssignablehttps://en.cppreference.com/cpp/named_req/MoveAssignable
Swappablehttps://en.cppreference.com/cpp/named_req/Swappable
noexcepthttps://en.cppreference.com/cpp/language/noexcept_spec
noexcepthttps://en.cppreference.com/cpp/language/noexcept_spec
noexcepthttps://en.cppreference.com/cpp/language/noexcept_spec
specialized in namespace stdhttps://en.cppreference.com/cpp/language/extending_std
ADLhttps://en.cppreference.com/cpp/language/adl
program-defined typehttps://en.cppreference.com/cpp/language/type#Program-defined_type
Swappablehttps://en.cppreference.com/cpp/named_req/Swappable
std::swap(std::pair)https://en.cppreference.com/cpp/utility/pair/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/pair/dsc_swap2&action=edit
std::swap(std::tuple)https://en.cppreference.com/cpp/utility/tuple/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/tuple/dsc_swap2&action=edit
std::swap(std::shared_ptr)https://en.cppreference.com/cpp/memory/shared_ptr/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/memory/shared_ptr/dsc_swap2&action=edit
std::swap(std::weak_ptr)https://en.cppreference.com/cpp/memory/weak_ptr/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/memory/weak_ptr/dsc_swap2&action=edit
std::swap(std::unique_ptr)https://en.cppreference.com/cpp/memory/unique_ptr/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/memory/unique_ptr/dsc_swap2&action=edit
std::swap(std::function)https://en.cppreference.com/cpp/utility/functional/function/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/functional/function/dsc_swap2&action=edit
std::swap(std::basic_string)https://en.cppreference.com/cpp/string/basic_string/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/string/basic_string/dsc_swap2&action=edit
std::swap(std::array)https://en.cppreference.com/cpp/container/array/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::deque)https://en.cppreference.com/cpp/container/deque/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::forward_list)https://en.cppreference.com/cpp/container/forward_list/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::list)https://en.cppreference.com/cpp/container/list/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::vector)https://en.cppreference.com/cpp/container/vector/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::map)https://en.cppreference.com/cpp/container/map/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::multimap)https://en.cppreference.com/cpp/container/multimap/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::set)https://en.cppreference.com/cpp/container/set/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::multiset)https://en.cppreference.com/cpp/container/multiset/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::unordered_map)https://en.cppreference.com/cpp/container/unordered_map/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::unordered_multimap)https://en.cppreference.com/cpp/container/unordered_multimap/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::unordered_set)https://en.cppreference.com/cpp/container/unordered_set/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::unordered_multiset)https://en.cppreference.com/cpp/container/unordered_multiset/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::queue)https://en.cppreference.com/cpp/container/queue/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::priority_queue)https://en.cppreference.com/cpp/container/priority_queue/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::stack)https://en.cppreference.com/cpp/container/stack/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/container/dsc_swap2&action=edit
std::swap(std::valarray)https://en.cppreference.com/cpp/numeric/valarray/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/numeric/valarray/dsc_swap2&action=edit
std::swap(std::basic_stringbuf)https://en.cppreference.com/cpp/io/basic_stringbuf/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_stringbuf/dsc_swap2&action=edit
std::swap(std::basic_istringstream)https://en.cppreference.com/cpp/io/basic_istringstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_stringstream/dsc_swap2&action=edit
std::swap(std::basic_ostringstream)https://en.cppreference.com/cpp/io/basic_ostringstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_stringstream/dsc_swap2&action=edit
std::swap(std::basic_stringstream)https://en.cppreference.com/cpp/io/basic_stringstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_stringstream/dsc_swap2&action=edit
std::swap(std::basic_filebuf)https://en.cppreference.com/cpp/io/basic_filebuf/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_filebuf/dsc_swap2&action=edit
std::swap(std::basic_ifstream)https://en.cppreference.com/cpp/io/basic_ifstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_fstream/dsc_swap2&action=edit
std::swap(std::basic_ofstream)https://en.cppreference.com/cpp/io/basic_ofstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_fstream/dsc_swap2&action=edit
std::swap(std::basic_fstream)https://en.cppreference.com/cpp/io/basic_fstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_fstream/dsc_swap2&action=edit
std::swap(std::basic_syncbuf)https://en.cppreference.com/cpp/io/basic_syncbuf/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_syncbuf/dsc_swap2&action=edit
std::swap(std::basic_spanbuf)https://en.cppreference.com/cpp/io/basic_spanbuf/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_spanbuf/dsc_swap2&action=edit
std::swap(std::basic_ispanstream)https://en.cppreference.com/cpp/io/basic_ispanstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_spanstream/dsc_swap2&action=edit
std::swap(std::basic_ospanstream)https://en.cppreference.com/cpp/io/basic_ospanstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_spanstream/dsc_swap2&action=edit
std::swap(std::basic_spanstream)https://en.cppreference.com/cpp/io/basic_spanstream/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/io/basic_spanstream/dsc_swap2&action=edit
std::swap(std::basic_regex)https://en.cppreference.com/cpp/regex/basic_regex/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/regex/basic_regex/dsc_swap2&action=edit
std::swap(std::match_results)https://en.cppreference.com/cpp/regex/match_results/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/regex/match_results/dsc_swap2&action=edit
std::swap(std::thread)https://en.cppreference.com/cpp/thread/thread/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/thread/thread/dsc_swap2&action=edit
std::swap(std::unique_lock)https://en.cppreference.com/cpp/thread/unique_lock/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/thread/unique_lock/dsc_swap2&action=edit
std::swap(std::shared_lock)https://en.cppreference.com/cpp/thread/shared_lock/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/thread/shared_lock/dsc_swap2&action=edit
std::swap(std::promise)https://en.cppreference.com/cpp/thread/promise/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/thread/promise/dsc_swap2&action=edit
std::swap(std::packaged_task)https://en.cppreference.com/cpp/thread/packaged_task/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/thread/packaged_task/dsc_swap2&action=edit
std::swap(std::optional)https://en.cppreference.com/cpp/utility/optional/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/optional/dsc_swap2&action=edit
std::swap(std::any)https://en.cppreference.com/cpp/utility/any/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/any/dsc_swap2&action=edit
std::swap(std::variant)https://en.cppreference.com/cpp/utility/variant/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/variant/dsc_swap2&action=edit
std::swap(std::basic_stacktrace)https://en.cppreference.com/cpp/utility/basic_stacktrace/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/basic_stacktrace/dsc_swap2&action=edit
swap(std::filesystem::path)https://en.cppreference.com/cpp/filesystem/path/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/filesystem/path/dsc_swap2&action=edit
swap(std::expected)https://en.cppreference.com/cpp/utility/expected/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/expected/dsc_swap2&action=edit
swap(std::jthread)https://en.cppreference.com/cpp/thread/jthread/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/thread/thread/dsc_swap2&action=edit
swap(std::move_only_function)https://en.cppreference.com/cpp/utility/functional/move_only_function/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/functional/move_only_function/dsc_swap2&action=edit
swap(std::stop_source)https://en.cppreference.com/cpp/thread/stop_source/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/thread/stop_source/dsc_swap2&action=edit
swap(std::stop_token)https://en.cppreference.com/cpp/thread/stop_token/swap2
[edit]https://cppreference.com/index.php?title=Template:cpp/thread/stop_token/dsc_swap2&action=edit
LWG 227https://cplusplus.github.io/LWG/issue227
CopyConstructiblehttps://en.cppreference.com/cpp/named_req/CopyConstructible
DefaultConstructiblehttps://en.cppreference.com/cpp/named_req/DefaultConstructible
CopyConstructiblehttps://en.cppreference.com/cpp/named_req/CopyConstructible
LWG 809https://cplusplus.github.io/LWG/issue809
LWG 2554https://cplusplus.github.io/LWG/issue2554
ranges::swaphttps://en.cppreference.com/cpp/utility/ranges/swap
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/ranges/dsc_swap&action=edit
iter_swaphttps://en.cppreference.com/cpp/algorithm/iter_swap
[edit]https://cppreference.com/index.php?title=Template:cpp/algorithm/dsc_iter_swap&action=edit
swap_rangeshttps://en.cppreference.com/cpp/algorithm/swap_ranges
[edit]https://cppreference.com/index.php?title=Template:cpp/algorithm/dsc_swap_ranges&action=edit
ranges::swap_rangeshttps://en.cppreference.com/cpp/algorithm/ranges/swap_ranges
exchangehttps://en.cppreference.com/cpp/utility/exchange
[edit]https://cppreference.com/index.php?title=Template:cpp/utility/dsc_exchange&action=edit
Categorieshttps://en.cppreference.com/Special:Categories
Pages using deprecated source tagshttps://en.cppreference.com/index.php?title=Category:Pages_using_deprecated_source_tags&action=edit&redlink=1
Pages using deprecated enclose attributeshttps://en.cppreference.com/index.php?title=Category:Pages_using_deprecated_enclose_attributes&action=edit&redlink=1
conditionally noexcepthttps://en.cppreference.com/index.php?title=Category:conditionally_noexcept&action=edit&redlink=1
Support ushttp://www.cppreference.com/support
Recent changeshttps://en.cppreference.com/Special:RecentChanges
FAQhttps://en.cppreference.com/Cppreference:FAQ
Offline versionhttps://en.cppreference.com/Cppreference:Archives
https://en.cppreference.com/cpp/algorithm/swap
What links herehttps://en.cppreference.com/Special:WhatLinksHere/cpp/algorithm/swap
Related changeshttps://en.cppreference.com/Special:RecentChangesLinked/cpp/algorithm/swap
Upload filehttp://upload.cppreference.com/w/Special:Upload
Special pageshttps://en.cppreference.com/Special:SpecialPages
Printable versionjavascript:print();
Permanent linkhttps://en.cppreference.com/index.php?title=cpp/algorithm/swap&oldid=175679
Page informationhttps://en.cppreference.com/index.php?title=cpp/algorithm/swap&action=info
Deutschhttps://de.cppreference.com/cpp/algorithm/swap
Españolhttp://es.cppreference.com/cpp/algorithm/swap
Françaishttp://fr.cppreference.com/cpp/algorithm/swap
Italianohttp://it.cppreference.com/cpp/algorithm/swap
日本語http://ja.cppreference.com/cpp/algorithm/swap
Portuguêshttp://pt.cppreference.com/cpp/algorithm/swap
Русскийhttp://ru.cppreference.com/cpp/algorithm/swap
中文http://zh.cppreference.com/cpp/algorithm/swap

Viewport: width=1120

Robots: max-image-preview:standard


URLs of crawlers that visited me.