Skip to content

Commit

Permalink
Deprecation message for phasing out C++03 support
Browse files Browse the repository at this point in the history
  • Loading branch information
joachim-faulhaber committed Jul 17, 2023
1 parent ed937cb commit 724f918
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions include/boost/icl/detail/requires_cxx11.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#ifndef BOOST_ICL_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
#define BOOST_ICL_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_VARIADIC_TEMPLATES) || \
defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
defined(BOOST_NO_CXX11_DECLTYPE) || \
defined(BOOST_NO_CXX11_CONSTEXPR) || \
defined(BOOST_NO_CXX11_NOEXCEPT) || \
defined(BOOST_NO_CXX11_HDR_RATIO)

BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.Icl 1.84 and will be removed in Boost.Icl 1.86.")

#endif

#endif // #ifndef BOOST_ICL_DETAIL_REQUIRES_CXX11_HPP_INCLUDED
1 change: 1 addition & 0 deletions include/boost/icl/impl_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Copyright (c) 2009-2011: Joachim Faulhaber
#ifndef BOOST_ICL_IMPL_CONFIG_HPP_JOFA_091225
#define BOOST_ICL_IMPL_CONFIG_HPP_JOFA_091225

#include <boost/icl/detail/requires_cxx11.hpp>
#include <boost/icl/detail/boost_config.hpp>

/*-----------------------------------------------------------------------------+
Expand Down

0 comments on commit 724f918

Please sign in to comment.