Update of /cvsroot/boost/boost/boost/xpressive/proto
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24670/proto
Modified Files:
context.hpp
Log Message:
lazy binding works with native arrays, defer result_of evaluation in
proto::context<>
Index: context.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/proto/context.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- context.hpp 22 Mar 2007 22:15:29 -0000 1.10
+++ context.hpp 24 Mar 2007 21:50:23 -0000 1.11
@@ -335,7 +335,7 @@
#undef BOOST_PROTO_ARG
template<typename A0, typename A1>
- typename result<derived_type(proto::tag::comma, A0 &, A1 &)>::type
+ typename boost::result_of<derived_type(proto::tag::comma, A0 &, A1
&)>::type
operator()(proto::tag::comma, A0 &a0, A1 &a1)
{
return a0.eval(this->cast()), a1.eval(this->cast());
@@ -368,7 +368,7 @@
#endif
template<typename Tag BOOST_PP_ENUM_TRAILING_PARAMS(N, typename A)>
- typename result<derived_type(Tag
BOOST_PP_ENUM_TRAILING_BINARY_PARAMS(N, A, & BOOST_PP_INTERCEPT))>::type
+ typename boost::result_of<derived_type(Tag
BOOST_PP_ENUM_TRAILING_BINARY_PARAMS(N, A, & BOOST_PP_INTERCEPT))>::type
operator()(Tag BOOST_PP_ENUM_TRAILING_BINARY_PARAMS(N, A, & a))
{
return result<derived_type(Tag, BOOST_PP_ENUM_BINARY_PARAMS(N,
A, & BOOST_PP_INTERCEPT))>::call(
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs