Skip to content

Commit 6ca985f

Browse files
committed
Add BOOST_HEADER_DEPRECATED to <boost/interprocess/containers/*.hpp> headers. They were deprecated several releases ago.
1 parent 1a8382b commit 6ca985f

File tree

15 files changed

+45
-0
lines changed

15 files changed

+45
-0
lines changed

doc/interprocess.qbk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6872,6 +6872,9 @@ thank them:
68726872
`GetCurrentThreadId` on Cygwin, `gettid` on QNX, etc...). The programmer can define `BOOST_INTERPROCESS_USE_PTHREAD_AS_SYSTEMWIDE_THREAD_ID`
68736873
to go back to the old `pthread_t` based behaviour, but this option is deprecated and will be removed in a few releases.
68746874

6875+
* Added `BOOST_HEADER_DEPRECATED` to `<boost/interprocess/containers/*.hpp> headers. They were deprecated several releases ago, but this
6876+
message will annoy existing users to switch to Boost.Container headers.
6877+
68756878
* Fixed bugs:
68766879
* [@https://github.com/boostorg/interprocess/issues/242 GitHub #242 (['"Cygwin compatibility issues"])].
68776880
* [@https://github.com/boostorg/interprocess/issues/247 GitHub #247 (['"destruction of move-constructed map using private_adaptive_pool triggers Assertion"])].

include/boost/interprocess/containers/allocation_type.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
#include <boost/interprocess/detail/config_begin.hpp>
2323
#include <boost/container/detail/allocation_type.hpp>
2424

25+
#include <boost/config/header_deprecated.hpp>
26+
BOOST_HEADER_DEPRECATED("[[no replacement]]")
27+
2528
namespace boost {
2629
namespace interprocess {
2730

include/boost/interprocess/containers/containers_fwd.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
#include <boost/interprocess/detail/config_begin.hpp>
2929
#include <boost/container/container_fwd.hpp>
3030

31+
#include <boost/config/header_deprecated.hpp>
32+
BOOST_HEADER_DEPRECATED("<boost/container/container_fwd.hpp>")
33+
3134
namespace boost {
3235
namespace interprocess {
3336

include/boost/interprocess/containers/deque.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <boost/container/deque.hpp>
2424
#include <boost/interprocess/containers/containers_fwd.hpp>
2525

26+
#include <boost/config/header_deprecated.hpp>
27+
BOOST_HEADER_DEPRECATED("<boost/container/deque.hpp>")
28+
2629
namespace boost {
2730
namespace interprocess {
2831

include/boost/interprocess/containers/flat_map.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <boost/container/flat_map.hpp>
2424
#include <boost/interprocess/containers/containers_fwd.hpp>
2525

26+
#include <boost/config/header_deprecated.hpp>
27+
BOOST_HEADER_DEPRECATED("<boost/container/flat_map.hpp>")
28+
2629
namespace boost {
2730
namespace interprocess {
2831

include/boost/interprocess/containers/flat_set.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <boost/container/flat_set.hpp>
2424
#include <boost/interprocess/containers/containers_fwd.hpp>
2525

26+
#include <boost/config/header_deprecated.hpp>
27+
BOOST_HEADER_DEPRECATED("<boost/container/flat_set.hpp>")
28+
2629
namespace boost {
2730
namespace interprocess {
2831

include/boost/interprocess/containers/list.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <boost/container/list.hpp>
2424
#include <boost/interprocess/containers/containers_fwd.hpp>
2525

26+
#include <boost/config/header_deprecated.hpp>
27+
BOOST_HEADER_DEPRECATED("<boost/container/list.hpp>")
28+
2629
namespace boost {
2730
namespace interprocess {
2831

include/boost/interprocess/containers/map.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <boost/container/map.hpp>
2424
#include <boost/interprocess/containers/containers_fwd.hpp>
2525

26+
#include <boost/config/header_deprecated.hpp>
27+
BOOST_HEADER_DEPRECATED("<boost/container/map.hpp>")
28+
2629
namespace boost {
2730
namespace interprocess {
2831

include/boost/interprocess/containers/pair.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <boost/container/detail/pair.hpp>
2424
#include <boost/interprocess/containers/containers_fwd.hpp>
2525

26+
#include <boost/config/header_deprecated.hpp>
27+
BOOST_HEADER_DEPRECATED("[[no replacement]]")
28+
2629
namespace boost {
2730
namespace interprocess {
2831

include/boost/interprocess/containers/set.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
#include <boost/container/set.hpp>
2424
#include <boost/interprocess/containers/containers_fwd.hpp>
2525

26+
#include <boost/config/header_deprecated.hpp>
27+
BOOST_HEADER_DEPRECATED("<boost/container/set.hpp>")
28+
2629
namespace boost {
2730
namespace interprocess {
2831

0 commit comments

Comments
 (0)