mirror of
https://github.com/boostorg/typeof.git
synced 2025-07-31 13:27:30 +02:00
Fixed problem with extra typename in BOOST_LVALUE_TYPEOF in native MSVC mode.
[SVN r2615]
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user