From 0e6b76e5998e50c650aa787e8c17d15bc6fc0fd3 Mon Sep 17 00:00:00 2001 From: Peder Holt Date: Wed, 8 Jun 2005 09:50:10 +0000 Subject: [PATCH] Fixed problem with extra typename in BOOST_LVALUE_TYPEOF in native MSVC mode. [SVN r2615] --- include/boost/typeof/lvalue_typeof.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/boost/typeof/lvalue_typeof.hpp b/include/boost/typeof/lvalue_typeof.hpp index 9fe1b1c..6f04007 100644 --- a/include/boost/typeof/lvalue_typeof.hpp +++ b/include/boost/typeof/lvalue_typeof.hpp @@ -78,7 +78,6 @@ namespace boost // just add "typename" when using in templates #if defined BOOST_TYPEOF_COMPLIANT || (defined(BOOST_TYPEOF_NATIVE) && defined(BOOST_MSVC)) - namespace boost { namespace type_of { template @@ -97,8 +96,6 @@ namespace boost { namespace type_of { sizeof(*boost::type_of::classify_expression(expr)) \ >::type -#endif - #else //BOOST_TYPEOF_NATIVE #define BOOST_LVALUE_TYPEOF(expr) \ @@ -107,4 +104,6 @@ namespace boost { namespace type_of { sizeof(*boost::type_of::classify_expression(expr)) \ >::type +#endif + #endif//BOOST_TYPEOF_LVALUE_TYPEOF_HPP_INCLUDED