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

Modified Files:
        regex_primitives.hpp 
Log Message:
add proto::deduce_domain, make it the default for proto::make_expr and friends

Index: regex_primitives.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/regex_primitives.hpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- regex_primitives.hpp        25 May 2007 22:23:54 -0000      1.34
+++ regex_primitives.hpp        27 May 2007 03:56:20 -0000      1.35
@@ -467,7 +467,7 @@
 /// \brief Make a sub-expression optional. Equivalent to !as_xpr(expr).
 ///
 /// \param expr The sub-expression to make optional.
-proto::functional::make_expr<proto::tag::logical_not> const optional = {};
+proto::functional::make_expr<proto::tag::logical_not, proto::default_domain> 
const optional = {};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Repeat a sub-expression multiple times.
@@ -481,19 +481,19 @@
 ///
 /// \param expr The sub-expression to repeat.
 template<unsigned int Min, unsigned int Max, typename Expr>
-typename proto::result_of::make_expr<detail::generic_quant_tag<Min, Max>, Expr 
const>::type const
+typename proto::result_of::make_expr<detail::generic_quant_tag<Min, Max>, 
proto::default_domain, Expr const>::type const
 repeat(Expr const &expr)
 {
-    return proto::make_expr<detail::generic_quant_tag<Min, Max> >(expr);
+    return proto::make_expr<detail::generic_quant_tag<Min, Max>, 
proto::default_domain>(expr);
 }
 
 /// \overload
 ///
 template<unsigned int Count, typename Expr2>
-typename proto::result_of::make_expr<detail::generic_quant_tag<Count, Count>, 
Expr2 const>::type const
+typename proto::result_of::make_expr<detail::generic_quant_tag<Count, Count>, 
proto::default_domain, Expr2 const>::type const
 repeat(Expr2 const &expr2)
 {
-    return proto::make_expr<detail::generic_quant_tag<Count, Count> >(expr2);
+    return proto::make_expr<detail::generic_quant_tag<Count, Count>, 
proto::default_domain>(expr2);
 }
 
 ///////////////////////////////////////////////////////////////////////////////
@@ -506,7 +506,7 @@
 /// \attention keep(expr) is equivalent to the perl (?>...) extension.
 ///
 /// \param expr The sub-expression to modify.
-proto::functional::make_expr<detail::keeper_tag> const keep = {};
+proto::functional::make_expr<detail::keeper_tag, proto::default_domain> const 
keep = {};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Look-ahead assertion.
@@ -521,7 +521,7 @@
 /// perl (?!...) extension.
 ///
 /// \param expr The sub-expression to put in the look-ahead assertion.
-proto::functional::make_expr<detail::lookahead_tag> const before = {};
+proto::functional::make_expr<detail::lookahead_tag, proto::default_domain> 
const before = {};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Look-behind assertion.
@@ -538,7 +538,7 @@
 /// \param expr The sub-expression to put in the look-ahead assertion.
 ///
 /// \pre expr cannot match a variable number of characters.
-proto::functional::make_expr<detail::lookbehind_tag> const after = {};
+proto::functional::make_expr<detail::lookbehind_tag, proto::default_domain> 
const after = {};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Specify a regex traits or a std::locale.


-------------------------------------------------------------------------
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

Reply via email to