diff --git a/include/boost/detail/ob_type_traits.hpp b/include/boost/detail/ob_type_traits.hpp index 420d326..3dfdb2b 100644 --- a/include/boost/detail/ob_type_traits.hpp +++ b/include/boost/detail/ob_type_traits.hpp @@ -317,7 +317,12 @@ template struct is_reference private: typedef T const volatile cv_t; public: - enum{ value = !is_const::value || !is_volatile::value }; + enum // dwa 10/27/00 - VC6.4 seems to choke on short-circuit (&&,||) + { // evaluations in constant expressions + value = !is_const::value ? true + : !is_volatile::value ? true + : false + }; }; template <> struct is_reference {