Update of /cvsroot/boost/boost/boost/xpressive
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18122/boost/xpressive

Modified Files:
        regex_primitives.hpp 
Log Message:
remove unnecessary make_terminal

Index: regex_primitives.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/regex_primitives.hpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- regex_primitives.hpp        3 Feb 2007 00:14:32 -0000       1.21
+++ regex_primitives.hpp        3 Feb 2007 00:50:38 -0000       1.22
@@ -442,7 +442,8 @@
 {
     typedef detail::core_access<BidiIter> access;
     shared_ptr<detail::regex_impl<BidiIter> > impl = 
access::get_regex_impl(rex);
-    return proto::make_terminal(detail::regex_placeholder<BidiIter, 
mpl::true_>(impl));
+    detail::regex_placeholder<BidiIter, mpl::true_> rex_ref(impl);
+    return proto::as_expr(rex_ref);
 }
 
 ///////////////////////////////////////////////////////////////////////////////
@@ -456,8 +457,8 @@
 inline typename proto::terminal<detail::range_placeholder<Char> >::type const
 range(Char ch_min, Char ch_max)
 {
-    typename proto::terminal<detail::range_placeholder<Char> >::type that = 
{{ch_min, ch_max, false}};
-    return that;
+    detail::range_placeholder<Char> that = {ch_min, ch_max, false};
+    return proto::as_expr(that);
 }
 
 ///////////////////////////////////////////////////////////////////////////////


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to