|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74474 - trunk/boost/proto/detail
From: eric_at_[hidden]
Date: 2011-09-19 22:30:47
Author: eric_niebler
Date: 2011-09-19 22:30:47 EDT (Mon, 19 Sep 2011)
New Revision: 74474
URL: http://svn.boost.org/trac/boost/changeset/74474
Log:
tweak for internal BOOST_PROTO_DECLTYPE_ macro
Text files modified:
trunk/boost/proto/detail/decltype.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/proto/detail/decltype.hpp
==============================================================================
--- trunk/boost/proto/detail/decltype.hpp (original)
+++ trunk/boost/proto/detail/decltype.hpp 2011-09-19 22:30:47 EDT (Mon, 19 Sep 2011)
@@ -39,10 +39,10 @@
#else
# define BOOST_PROTO_DECLTYPE_NESTED_TYPEDEF_TPL_(NESTED, EXPR) \
BOOST_TYPEOF_NESTED_TYPEDEF_TPL(BOOST_PP_CAT(nested_and_hidden_, NESTED), EXPR) \
- static int const sz = sizeof(boost::proto::detail::check_reference(EXPR)); \
+ static int const BOOST_PP_CAT(sz, NESTED) = sizeof(boost::proto::detail::check_reference(EXPR));\
struct NESTED \
: boost::mpl::if_c< \
- 1==sz \
+ 1 == BOOST_PP_CAT(sz, NESTED) \
, typename BOOST_PP_CAT(nested_and_hidden_, NESTED)::type & \
, typename BOOST_PP_CAT(nested_and_hidden_, NESTED)::type \
> \
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk