mirror of
https://github.com/boostorg/typeof.git
synced 2025-05-09 23:14:01 +00:00
Add C++03 deprecation notice
This commit is contained in:
parent
83756139b2
commit
4a827b0cda
18
include/boost/typeof/detail/requires_cxx11.hpp
Normal file
18
include/boost/typeof/detail/requires_cxx11.hpp
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef BOOST_TYPEOF_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
|
||||
#define BOOST_TYPEOF_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
|
||||
|
||||
// Copyright 2023 Peter Dimov
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/config/pragma_message.hpp>
|
||||
|
||||
#if defined(BOOST_NO_CXX11_DECLTYPE) || \
|
||||
defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
|
||||
|
||||
BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.Typeof 1.82 and will be removed in Boost.Typeof 1.84.")
|
||||
|
||||
#endif
|
||||
|
||||
#endif // #ifndef BOOST_TYPEOF_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
|
@ -13,6 +13,7 @@
|
||||
# error both typeof emulation and native mode requested
|
||||
#endif
|
||||
|
||||
#include <boost/typeof/detail/requires_cxx11.hpp>
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/config/workaround.hpp>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user