]> git.donarmstrong.com Git - rsem.git/blob - boost/type_traits/detail/ice_eq.hpp
RSEM Source Codes
[rsem.git] / boost / type_traits / detail / ice_eq.hpp
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).
5 //
6 //  See http://www.boost.org/libs/type_traits for most recent version including documentation.
7
8 #ifndef BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED
9 #define BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED
10
11 #include <boost/config.hpp>
12
13 namespace boost {
14 namespace type_traits {
15
16 template <int b1, int b2>
17 struct ice_eq
18 {
19     BOOST_STATIC_CONSTANT(bool, value = (b1 == b2));
20 };
21
22 template <int b1, int b2>
23 struct ice_ne
24 {
25     BOOST_STATIC_CONSTANT(bool, value = (b1 != b2));
26 };
27
28 #ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
29 template <int b1, int b2> bool const ice_eq<b1,b2>::value;
30 template <int b1, int b2> bool const ice_ne<b1,b2>::value;
31 #endif
32
33 } // namespace type_traits
34 } // namespace boost
35
36 #endif // BOOST_TT_DETAIL_ICE_EQ_HPP_INCLUDED