From 0c4c77ea346ae289ebdfef576ac3032a2d179368 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 22 May 2009 13:35:56 +0000 Subject: [PATCH] Rename struct to avoid using 'type::'type' which confuses some compilers. [SVN r53175] --- .../functional/hash/detail/float_functions.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/boost/functional/hash/detail/float_functions.hpp b/include/boost/functional/hash/detail/float_functions.hpp index 6f21169..40b2c03 100644 --- a/include/boost/functional/hash/detail/float_functions.hpp +++ b/include/boost/functional/hash/detail/float_functions.hpp @@ -114,7 +114,7 @@ namespace boost { // Use Access for result - struct type : Access::BOOST_NESTED_TEMPLATE call + struct result : Access::BOOST_NESTED_TEMPLATE call { BOOST_STATIC_CONSTANT(bool, value = true); }; @@ -140,7 +140,7 @@ namespace boost { // Result for nothing found. - struct type + struct result { BOOST_STATIC_CONSTANT(bool, value = false); }; @@ -159,18 +159,18 @@ namespace boost { struct call_ldexp : select_impl :: x::type :: x::type - :: type {}; + :: result {}; template <> struct call_ldexp : select_impl :: x::type - :: type {}; + :: result {}; template <> struct call_ldexp : select_impl :: x::type :: x::type - :: type {}; + :: result {}; // call_frexp @@ -186,18 +186,18 @@ namespace boost { struct call_frexp : select_impl :: x::type :: x::type - :: type {}; + :: result {}; template <> struct call_frexp : select_impl :: x::type - :: type {}; + :: result {}; template <> struct call_frexp : select_impl :: x::type :: x::type - :: type {}; + :: result {}; // has_float_functions //