std::experimental::any::
swap
From cppreference.com
<
cpp
|
experimental
|
any
C++
Language
Standard library headers
Concepts
Utilities library
Strings library
Containers library
Algorithms library
Iterators library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Experimental libraries
Experimental standard libraries
optional
(library fundamentals TS)
any
(library fundamentals TS)
basic_string_view
(library fundamentals TS)
Polymorphic allocator library
(library fundamentals TS)
Filesystem library
(filesystem TS)
std::experimental::any
Member functions
any::any
any::operator=
Modifers
any::clear
any::swap
Observers
any::empty
any::type
Non-member functions
swap
(std::experimental::any)
any_cast
void
swap
(
any
&
other
)
;
(library fundamentals TS)
Swaps the content of two
any
objects.
[
edit
]
Parameters
other
-
object to swap with
[
edit
]
Return value
(none)
[
edit
]
Exceptions
noexcept
specification:
noexcept
Category
:
unconditionally noexcept