mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +00:00
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.
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 | ||||
Master |
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
Languages
C++
99.1%
CMake
0.5%
HTML
0.2%
Shell
0.1%