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

Modified Files:
        regex_actions.hpp 
Log Message:
misc clean-up

Index: regex_actions.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/regex_actions.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- regex_actions.hpp   27 Mar 2007 05:05:26 -0000      1.8
+++ regex_actions.hpp   27 Mar 2007 06:38:16 -0000      1.9
@@ -204,6 +204,17 @@
             }
         };
 
+        struct matched
+        {
+            typedef bool result_type;
+
+            template<typename Sub>
+            bool operator()(Sub &sub) const
+            {
+                return sub.matched;
+            }
+        };
+
         struct length
         {
             template<typename Sig>
@@ -293,6 +304,7 @@
     proto::terminal<op::front>::type const front = {{}};
     proto::terminal<op::first>::type const first = {{}};
     proto::terminal<op::second>::type const second = {{}};
+    proto::terminal<op::matched>::type const matched = {{}};
     proto::terminal<op::length>::type const length = {{}};
     proto::terminal<op::str>::type const str = {{}};
 
@@ -423,6 +435,7 @@
             ignore_unused(front);
             ignore_unused(first);
             ignore_unused(second);
+            ignore_unused(matched);
             ignore_unused(length);
             ignore_unused(str);
         }


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

Reply via email to