From c3ba753ca148bcaa1e455019f1e70377d82eaf12 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 9 Mar 2001 12:34:52 +0000 Subject: [PATCH] Tentative fixes for SunPro compiler [SVN r9520] --- include/boost/type_traits/ice.hpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/boost/type_traits/ice.hpp b/include/boost/type_traits/ice.hpp index 321c121..36e0e2e 100644 --- a/include/boost/type_traits/ice.hpp +++ b/include/boost/type_traits/ice.hpp @@ -56,18 +56,25 @@ struct ice_and BOOST_STATIC_CONSTANT(bool, value = true); }; -template +template struct ice_eq { BOOST_STATIC_CONSTANT(bool, value = (b1 == b2)); }; -template +template struct ice_ne { BOOST_STATIC_CONSTANT(bool, value = (b1 != b2)); }; +#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION +template +const bool ice_eq::value; +template +const bool ice_ne::value; +#endif + } // namespace type_traits } // namespace boost