From bddf43c4c1962670664318f683164a80bebb624e Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 24 Feb 2002 02:37:36 +0000 Subject: [PATCH] Added a few more specializations to suppress GCC warnings [SVN r12918] --- include/boost/type_traits/conversion_traits.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/type_traits/conversion_traits.hpp b/include/boost/type_traits/conversion_traits.hpp index c0d722a..a588ae7 100644 --- a/include/boost/type_traits/conversion_traits.hpp +++ b/include/boost/type_traits/conversion_traits.hpp @@ -176,6 +176,15 @@ public: BOOST_FLOAT_IS_CONVERTIBLE(float) BOOST_FLOAT_IS_CONVERTIBLE(double) BOOST_FLOAT_IS_CONVERTIBLE(long double) +BOOST_FLOAT_IS_CONVERTIBLE(float const) +BOOST_FLOAT_IS_CONVERTIBLE(double const) +BOOST_FLOAT_IS_CONVERTIBLE(long double const) +BOOST_FLOAT_IS_CONVERTIBLE(float volatile) +BOOST_FLOAT_IS_CONVERTIBLE(double volatile) +BOOST_FLOAT_IS_CONVERTIBLE(long double volatile) +BOOST_FLOAT_IS_CONVERTIBLE(float const volatile) +BOOST_FLOAT_IS_CONVERTIBLE(double const volatile) +BOOST_FLOAT_IS_CONVERTIBLE(long double const volatile) # undef BOOST_FLOAT_IS_CONVERTIBLE # undef BOOST_IS_CONVERTIBLE2 # undef BOOST_IS_CONVERTIBLE