Tentative fixes for SunPro compiler

[SVN r9520]
This commit is contained in:
John Maddock
2001-03-09 12:34:52 +00:00
parent 92fe7669e4
commit c3ba753ca1

View File

@@ -56,18 +56,25 @@ struct ice_and<true, true, true, true, true, true, true>
BOOST_STATIC_CONSTANT(bool, value = true);
};
template <bool b1, bool b2>
template <int b1, int b2>
struct ice_eq
{
BOOST_STATIC_CONSTANT(bool, value = (b1 == b2));
};
template <bool b1, bool b2>
template <int b1, int b2>
struct ice_ne
{
BOOST_STATIC_CONSTANT(bool, value = (b1 != b2));
};
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
template <int b1, int b2>
const bool ice_eq<b1,b2>::value;
template <int b1, int b2>
const bool ice_ne<b1,b2>::value;
#endif
} // namespace type_traits
} // namespace boost