Add BOOST_HEADER_DEPRECATED to <boost/interprocess/containers/*.hpp> headers. They were deprecated several releases ago.

This commit is contained in:
Ion Gaztañaga
2026-01-05 01:28:49 +01:00
parent 1a8382b12f
commit 6ca985f6c8
15 changed files with 45 additions and 0 deletions

View File

@@ -6872,6 +6872,9 @@ thank them:
`GetCurrentThreadId` on Cygwin, `gettid` on QNX, etc...). The programmer can define `BOOST_INTERPROCESS_USE_PTHREAD_AS_SYSTEMWIDE_THREAD_ID`
to go back to the old `pthread_t` based behaviour, but this option is deprecated and will be removed in a few releases.
* Added `BOOST_HEADER_DEPRECATED` to `<boost/interprocess/containers/*.hpp> headers. They were deprecated several releases ago, but this
message will annoy existing users to switch to Boost.Container headers.
* Fixed bugs:
* [@https://github.com/boostorg/interprocess/issues/242 GitHub #242 (['"Cygwin compatibility issues"])].
* [@https://github.com/boostorg/interprocess/issues/247 GitHub #247 (['"destruction of move-constructed map using private_adaptive_pool triggers Assertion"])].

View File

@@ -22,6 +22,9 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/container/detail/allocation_type.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("[[no replacement]]")
namespace boost {
namespace interprocess {

View File

@@ -28,6 +28,9 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/container/container_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/container_fwd.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/deque.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/deque.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/flat_map.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/flat_map.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/flat_set.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/flat_set.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/list.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/list.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/map.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/map.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/detail/pair.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("[[no replacement]]")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/set.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/set.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/slist.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/slist.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/stable_vector.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/stable_vector.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/string.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/string.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -23,6 +23,9 @@
#include <boost/container/vector.hpp>
#include <boost/interprocess/containers/containers_fwd.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/vector.hpp>")
namespace boost {
namespace interprocess {

View File

@@ -22,6 +22,9 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/container/detail/version_type.hpp>
#include <boost/config/header_deprecated.hpp>
BOOST_HEADER_DEPRECATED("<boost/container/detail/version_type.hpp>")
namespace boost {
namespace interprocess {