Update of /cvsroot/boost/boost/boost/xpressive/detail/dynamic
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30998/detail/dynamic
Modified Files:
dynamic.hpp
Log Message:
as_optional transform, and proto::trans::conditional
Index: dynamic.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/dynamic/dynamic.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- dynamic.hpp 29 Oct 2006 06:14:41 -0000 1.9
+++ dynamic.hpp 3 Apr 2007 06:32:17 -0000 1.10
@@ -226,10 +226,10 @@
}
//////////////////////////////////////////////////////////////////////////
-// make_exprtional
+// make_optional
template<typename BidiIter>
inline void
-make_exprtional(quant_spec const &spec, sequence<BidiIter> &seq)
+make_optional(quant_spec const &spec, sequence<BidiIter> &seq)
{
typedef shared_matchable<BidiIter> xpr_type;
seq += make_dynamic<BidiIter>(alternate_end_matcher());
@@ -246,10 +246,10 @@
}
//////////////////////////////////////////////////////////////////////////
-// make_exprtional
+// make_optional
template<typename BidiIter>
inline void
-make_exprtional(quant_spec const &spec, sequence<BidiIter> &seq, int mark_nbr)
+make_optional(quant_spec const &spec, sequence<BidiIter> &seq, int mark_nbr)
{
typedef shared_matchable<BidiIter> xpr_type;
seq += make_dynamic<BidiIter>(alternate_end_matcher());
@@ -285,7 +285,7 @@
// if min is 0, the repeat must be made optional
if(0 == spec.min_)
{
- make_exprtional(spec, seq);
+ make_optional(spec, seq);
}
}
@@ -320,7 +320,7 @@
// if min is 0, the repeat must be made optional
if(0 == spec.min_)
{
- make_exprtional(spec, seq, mark_nbr);
+ make_optional(spec, seq, mark_nbr);
}
}
-------------------------------------------------------------------------
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