From 261db898d95eb782e88148fe14711715052f1475 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 17 Mar 2014 18:06:31 +0000 Subject: [PATCH] Revert removal of obsolete headers as it breaks existing code. See https://svn.boost.org/trac/boost/ticket/9783. --- include/boost/type_traits/broken_compiler_spec.hpp | 14 ++++++++++++++ include/boost/type_traits/config.hpp | 6 ++++++ .../boost/type_traits/transform_traits_spec.hpp | 14 ++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 include/boost/type_traits/broken_compiler_spec.hpp create mode 100644 include/boost/type_traits/transform_traits_spec.hpp diff --git a/include/boost/type_traits/broken_compiler_spec.hpp b/include/boost/type_traits/broken_compiler_spec.hpp new file mode 100644 index 0000000..3a13273 --- /dev/null +++ b/include/boost/type_traits/broken_compiler_spec.hpp @@ -0,0 +1,14 @@ + +// Copyright 2001-2003 Aleksey Gurtovoy. +// Use, modification and distribution are subject to 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). +// +// See http://www.boost.org/libs/type_traits for most recent version including documentation. + +#ifndef BOOST_TT_BROKEN_COMPILER_SPEC_HPP_INCLUDED +#define BOOST_TT_BROKEN_COMPILER_SPEC_HPP_INCLUDED + +#include + +#endif diff --git a/include/boost/type_traits/config.hpp b/include/boost/type_traits/config.hpp index f3775e3..2e25ad0 100644 --- a/include/boost/type_traits/config.hpp +++ b/include/boost/type_traits/config.hpp @@ -61,6 +61,12 @@ # define BOOST_TT_NO_CV_FUNC_TEST #endif +// +// Macros that have been deprecated, defined here for backwards compatibility: +// +#define BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION(x) +#define BOOST_TT_BROKEN_COMPILER_SPEC(x) + #endif // BOOST_TT_CONFIG_HPP_INCLUDED diff --git a/include/boost/type_traits/transform_traits_spec.hpp b/include/boost/type_traits/transform_traits_spec.hpp new file mode 100644 index 0000000..b12b5f8 --- /dev/null +++ b/include/boost/type_traits/transform_traits_spec.hpp @@ -0,0 +1,14 @@ + +// Copyright 2001 Aleksey Gurtovoy. +// Use, modification and distribution are subject to 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). +// +// See http://www.boost.org/libs/type_traits for most recent version including documentation. + +#ifndef BOOST_TT_TRANSFORM_TRAITS_HPP_INCLUDED +#define BOOST_TT_TRANSFORM_TRAITS_HPP_INCLUDED + +#include + +#endif