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