Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-03-13 13:23:00


Author: eric_niebler
Date: 2008-03-13 13:22:59 EDT (Thu, 13 Mar 2008)
New Revision: 43592
URL: http://svn.boost.org/trac/boost/changeset/43592

Log:
work around msvc bug
Text files modified:
   trunk/boost/xpressive/proto/context/callable.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/xpressive/proto/context/callable.hpp
==============================================================================
--- trunk/boost/xpressive/proto/context/callable.hpp (original)
+++ trunk/boost/xpressive/proto/context/callable.hpp 2008-03-13 13:22:59 EDT (Thu, 13 Mar 2008)
@@ -222,6 +222,7 @@
             {
                 static callable_context_wrapper<Context, ARG_COUNT> &sctx_;
                 static Expr &sexpr_;
+ static typename Expr::proto_tag &stag_;
 
                 BOOST_STATIC_CONSTANT(bool, value =
                 (
@@ -229,7 +230,7 @@
                     sizeof(
                         detail::check_is_expr_handled(
                             (sctx_(
- typename Expr::proto_tag()
+ stag_
                                 BOOST_PP_ENUM_TRAILING(ARG_COUNT, BOOST_PROTO_ARG_N, sexpr_)
                             ), 0)
                         )


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