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]
This commit is contained in:
John Maddock
2001-02-19 12:52:30 +00:00
parent 029bc59d74
commit ed210f6b2c
4 changed files with 13 additions and 7 deletions

View File

@ -23,10 +23,10 @@
#include <boost/config.hpp>
#endif
#ifndef ARITHMETIC_TYPE_TRAITS_HPP
#ifndef BOOST_ARITHMETIC_TYPE_TRAITS_HPP
#include <boost/type_traits/arithmetic_traits.hpp>
#endif
#ifndef COMPOSITE_TYPE_TRAITS_HPP
#ifndef BOOST_COMPOSITE_TYPE_TRAITS_HPP
#include <boost/type_traits/composite_traits.hpp>
#endif

View File

@ -19,13 +19,15 @@
#define BOOST_DETAIL_COMPRESSED_PAIR_HPP
#include <algorithm>
#ifndef OBJECT_TYPE_TRAITS_HPP
#ifndef BOOST_OBJECT_TYPE_TRAITS_HPP
#include <boost/type_traits/object_traits.hpp>
#endif
#ifndef BOOST_SAME_TRAITS_HPP
#include <boost/type_traits/same_traits.hpp>
#endif
#ifndef BOOST_CALL_TRAITS_HPP
#include <boost/call_traits.hpp>
#endif
#include <boost/type_traits/same_traits.hpp>
namespace boost
{
@ -423,3 +425,4 @@ swap(compressed_pair<T1, T2>& x, compressed_pair<T1, T2>& y)
#endif // BOOST_DETAIL_COMPRESSED_PAIR_HPP

View File

@ -24,10 +24,10 @@
#include <boost/config.hpp>
#endif
#ifndef ARITHMETIC_TYPE_TRAITS_HPP
#ifndef BOOST_ARITHMETIC_TYPE_TRAITS_HPP
#include <boost/type_traits/arithmetic_traits.hpp>
#endif
#ifndef COMPOSITE_TYPE_TRAITS_HPP
#ifndef BOOST_COMPOSITE_TYPE_TRAITS_HPP
#include <boost/type_traits/composite_traits.hpp>
#endif

View File

@ -26,9 +26,12 @@
#define BOOST_OB_COMPRESSED_PAIR_HPP
#include <algorithm>
#ifndef OBJECT_TYPE_TRAITS_HPP
#ifndef BOOST_OBJECT_TYPE_TRAITS_HPP
#include <boost/type_traits/object_traits.hpp>
#endif
#ifndef BOOST_SAME_TRAITS_HPP
#include <boost/type_traits/same_traits.hpp>
#endif
#ifndef BOOST_CALL_TRAITS_HPP
#include <boost/call_traits.hpp>
#endif