Fixed problem with extra typename in BOOST_LVALUE_TYPEOF in native MSVC mode.

[SVN r2615]
This commit is contained in:
Peder Holt
2005-06-08 09:50:10 +00:00
parent bc7af3a7e7
commit 0e6b76e599

View File

@@ -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<class V, int n>
@@ -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