1 // (C) Copyright John Maddock and Steve Cleary 2000.
2 // Use, modification and distribution are subject to the Boost Software License,
3 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt).
6 // See http://www.boost.org/libs/type_traits for most recent version including documentation.
8 #ifndef BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED
9 #define BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED
11 #include <boost/config.hpp>
14 // This header is deprecated and no longer used by type_traits:
16 #if defined(__GNUC__) || defined(_MSC_VER)
17 # pragma message("NOTE: Use of this header (ice_eq.hpp) is deprecated")
21 namespace type_traits {
23 template <int b1, int b2>
26 BOOST_STATIC_CONSTANT(bool, value = (b1 == b2));
29 template <int b1, int b2>
32 BOOST_STATIC_CONSTANT(bool, value = (b1 != b2));
35 #ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
36 template <int b1, int b2> bool const ice_eq<b1,b2>::value;
37 template <int b1, int b2> bool const ice_ne<b1,b2>::value;
40 } // namespace type_traits
43 #endif // BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED