From ed210f6b2c2bfa4b5303fbdb9d0fa76912954ef1 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 19 Feb 2001 12:52:30 +0000 Subject: [PATCH] more type traits updates: Header includes get BOOST_ prefix, BOOST_DECL_MC dropped in favour of new BOOST_STATIC_CONSTANT (from config.hpp), operator ! dropped in favour of boost::type_traits::ice_not template. [SVN r9270] --- include/boost/detail/call_traits.hpp | 4 ++-- include/boost/detail/compressed_pair.hpp | 7 +++++-- include/boost/detail/ob_call_traits.hpp | 4 ++-- include/boost/detail/ob_compressed_pair.hpp | 5 ++++- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/include/boost/detail/call_traits.hpp b/include/boost/detail/call_traits.hpp index 1fa47f0..ec161c6 100644 --- a/include/boost/detail/call_traits.hpp +++ b/include/boost/detail/call_traits.hpp @@ -23,10 +23,10 @@ #include #endif -#ifndef ARITHMETIC_TYPE_TRAITS_HPP +#ifndef BOOST_ARITHMETIC_TYPE_TRAITS_HPP #include #endif -#ifndef COMPOSITE_TYPE_TRAITS_HPP +#ifndef BOOST_COMPOSITE_TYPE_TRAITS_HPP #include #endif diff --git a/include/boost/detail/compressed_pair.hpp b/include/boost/detail/compressed_pair.hpp index 53f8b23..621a677 100644 --- a/include/boost/detail/compressed_pair.hpp +++ b/include/boost/detail/compressed_pair.hpp @@ -19,13 +19,15 @@ #define BOOST_DETAIL_COMPRESSED_PAIR_HPP #include -#ifndef OBJECT_TYPE_TRAITS_HPP +#ifndef BOOST_OBJECT_TYPE_TRAITS_HPP #include #endif +#ifndef BOOST_SAME_TRAITS_HPP +#include +#endif #ifndef BOOST_CALL_TRAITS_HPP #include #endif -#include namespace boost { @@ -423,3 +425,4 @@ swap(compressed_pair& x, compressed_pair& y) #endif // BOOST_DETAIL_COMPRESSED_PAIR_HPP + diff --git a/include/boost/detail/ob_call_traits.hpp b/include/boost/detail/ob_call_traits.hpp index 7490513..091eea3 100644 --- a/include/boost/detail/ob_call_traits.hpp +++ b/include/boost/detail/ob_call_traits.hpp @@ -24,10 +24,10 @@ #include #endif -#ifndef ARITHMETIC_TYPE_TRAITS_HPP +#ifndef BOOST_ARITHMETIC_TYPE_TRAITS_HPP #include #endif -#ifndef COMPOSITE_TYPE_TRAITS_HPP +#ifndef BOOST_COMPOSITE_TYPE_TRAITS_HPP #include #endif diff --git a/include/boost/detail/ob_compressed_pair.hpp b/include/boost/detail/ob_compressed_pair.hpp index 42e4c35..c8293ec 100644 --- a/include/boost/detail/ob_compressed_pair.hpp +++ b/include/boost/detail/ob_compressed_pair.hpp @@ -26,9 +26,12 @@ #define BOOST_OB_COMPRESSED_PAIR_HPP #include -#ifndef OBJECT_TYPE_TRAITS_HPP +#ifndef BOOST_OBJECT_TYPE_TRAITS_HPP #include #endif +#ifndef BOOST_SAME_TRAITS_HPP +#include +#endif #ifndef BOOST_CALL_TRAITS_HPP #include #endif