4 Commits

Author SHA1 Message Date
Andrey Semashev
9fc2a2f1ac Renamed boost::swap to boost::core::invoke_swap, deprecated boost::swap.
The rename allows to avoid forming an infinite recursion in compile time
(because of noexcept specification that needs to resolve the unqualified call
to swap) or run time (in case if the boost::swap function is the only one
suitable for the passed arguments).

To avoid the compile-time recursion, removed noexcept specification from
boost::swap. The specification is still present in boost::core::invoke_swap.

Deprecated boost::swap and associated headers. boost::core::invoke_swap
is defined in a new boost/core/invoke_swap.hpp header.

Updated docs and tests. Removed tests that check inclusion of deprecated
headers.

Fixes https://github.com/boostorg/core/issues/148.
2023-07-12 12:17:07 +03:00
Andrey Semashev
a96e8b977b Added missing copyright comments. Corrected links to the documentation on the comments. 2014-06-12 02:10:34 +04:00
Glen Fernandes
60c9a35d86 Move headers to core; add quickbook documentation 2014-06-02 00:46:33 -07:00
Andrey Semashev
af6d29769d Moved from Boost.Utility. 2014-06-01 22:34:38 +04:00