mirror of
https://github.com/boostorg/config.git
synced 2026-04-28 18:13:33 +02:00
Add BOOST_HEADER_DEPRECATED
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// Copyright 2017 Peter Dimov.
|
||||
//
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
//
|
||||
// See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
#include <boost/config/header_deprecated.hpp>
|
||||
|
||||
BOOST_HEADER_DEPRECATED("<boost/config/workaround.hpp>")
|
||||
|
||||
#define ALTERNATIVE "the suitable component header"
|
||||
BOOST_HEADER_DEPRECATED(ALTERNATIVE)
|
||||
|
||||
#include <boost/config.hpp> // BOOST_STRINGIZE
|
||||
|
||||
#define HEADER <boost/config/workaround.hpp>
|
||||
BOOST_HEADER_DEPRECATED(BOOST_STRINGIZE(HEADER))
|
||||
Reference in New Issue
Block a user