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
2023-02-21 04:55:39 +02:00
2023-06-02 18:07:06 +03:00
2023-01-23 04:13:05 +02:00
2023-01-12 20:53:52 +02:00
2014-08-21 20:33:19 +01:00

Boost.Core

Boost.Core, part of collection of the Boost C++ Libraries, is a collection of core utilities used by other Boost libraries. The criteria for inclusion is that the utility component be:

  • simple,
  • used by other Boost libraries, and
  • not dependent on any other Boost modules except Core itself, Config, Assert, Static Assert, or Predef.

Build Status

Branch GitHub Actions AppVeyor Test Matrix Dependencies
Develop GitHub Actions AppVeyor Tests Dependencies
Master GitHub Actions AppVeyor Tests Dependencies

Directories

  • doc - Documentation of the components
  • include - Interface headers
  • test - Unit tests

More information

  • Documentation
  • Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
  • Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.

License

Distributed under the Boost Software License, Version 1.0.

Description
Boost Core Utilities
Readme 2.4 MiB
Languages
C++ 99.1%
CMake 0.5%
HTML 0.2%
Shell 0.1%