|
Boost-Commit : |
From: eric_at_[hidden]
Date: 2008-03-29 12:20:14
Author: eric_niebler
Date: 2008-03-29 12:20:14 EDT (Sat, 29 Mar 2008)
New Revision: 43924
URL: http://svn.boost.org/trac/boost/changeset/43924
Log:
make<_state> should evaluate the _state transform and make a new object of that type
Text files modified:
trunk/boost/xpressive/proto/transform/make.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/xpressive/proto/transform/make.hpp
==============================================================================
--- trunk/boost/xpressive/proto/transform/make.hpp (original)
+++ trunk/boost/xpressive/proto/transform/make.hpp 2008-03-29 12:20:14 EDT (Sat, 29 Mar 2008)
@@ -190,7 +190,7 @@
template<typename This, typename Expr, typename State, typename Visitor>
struct result<This(Expr, State, Visitor)>
{
- typedef typename detail::make_<Object, Expr, State, Visitor>::type type;
+ typedef typename detail::make_if_<Object, Expr, State, Visitor>::type type;
};
/// \param expr The current expression
@@ -307,7 +307,7 @@
struct result<This(Expr, State, Visitor)>
{
/// \brief <tt>make\<Object\>::::result\<void(Expr, State, Visitor)\>::::type</tt>
- typedef typename detail::make_<Object, Expr, State, Visitor>::type type;
+ typedef typename detail::make_if_<Object, Expr, State, Visitor>::type type;
};
/// Let \c ax be <tt>when\<_, Ax\>()(expr, state, visitor)</tt>
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