René's URL Explorer Experiment


Title: std::swap - cppreference.com

Generator: MediaWiki 1.43.9

direct link

Domain: www.cppreference.com

format-detectiontelephone=no

Links:

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