Update of /cvsroot/boost/boost/boost/xpressive
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6728
Modified Files:
regex_actions.hpp
Log Message:
construct<> takes args by const ref
Index: regex_actions.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/regex_actions.hpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- regex_actions.hpp 2 Jun 2007 01:48:54 -0000 1.27
+++ regex_actions.hpp 4 Jun 2007 02:30:44 -0000 1.28
@@ -619,12 +619,12 @@
template<typename T, typename A0>
typename proto::function<
typename proto::terminal<op::construct<T> >::type
- , typename proto::result_of::as_arg<A0>::type
- >::type const construct(A0 &a0)
+ , typename proto::result_of::as_arg<A0 const>::type
+ >::type const construct(A0 const &a0)
{
typename proto::function<
typename proto::terminal<op::construct<T> >::type
- , typename proto::result_of::as_arg<A0>::type
+ , typename proto::result_of::as_arg<A0 const>::type
>::type that = {{{}}, proto::as_arg(a0)};
return that;
}
@@ -634,14 +634,14 @@
template<typename T, typename A0, typename A1>
typename proto::function<
typename proto::terminal<op::construct<T> >::type
- , typename proto::result_of::as_arg<A0>::type
- , typename proto::result_of::as_arg<A1>::type
- >::type const construct(A0 &a0, A1 &a1)
+ , typename proto::result_of::as_arg<A0 const>::type
+ , typename proto::result_of::as_arg<A1 const>::type
+ >::type const construct(A0 const &a0, A1 const &a1)
{
typename proto::function<
typename proto::terminal<op::construct<T> >::type
- , typename proto::result_of::as_arg<A0>::type
- , typename proto::result_of::as_arg<A1>::type
+ , typename proto::result_of::as_arg<A0 const>::type
+ , typename proto::result_of::as_arg<A1 const>::type
>::type that = {{{}}, proto::as_arg(a0), proto::as_arg(a1)};
return that;
}
@@ -651,16 +651,16 @@
template<typename T, typename A0, typename A1, typename A2>
typename proto::function<
typename proto::terminal<op::construct<T> >::type
- , typename proto::result_of::as_arg<A0>::type
- , typename proto::result_of::as_arg<A1>::type
- , typename proto::result_of::as_arg<A2>::type
- >::type const construct(A0 &a0, A1 &a1, A2 &a2)
+ , typename proto::result_of::as_arg<A0 const>::type
+ , typename proto::result_of::as_arg<A1 const>::type
+ , typename proto::result_of::as_arg<A2 const>::type
+ >::type const construct(A0 const &a0, A1 const &a1, A2 const &a2)
{
typename proto::function<
typename proto::terminal<op::construct<T> >::type
- , typename proto::result_of::as_arg<A0>::type
- , typename proto::result_of::as_arg<A1>::type
- , typename proto::result_of::as_arg<A2>::type
+ , typename proto::result_of::as_arg<A0 const>::type
+ , typename proto::result_of::as_arg<A1 const>::type
+ , typename proto::result_of::as_arg<A2 const>::type
>::type that = {{{}}, proto::as_arg(a0), proto::as_arg(a1),
proto::as_arg(a2)};
return that;
}
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs