Update of /cvsroot/boost/boost/boost/xpressive/detail/static
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1249/detail/static
Modified Files:
is_pure.hpp placeholders.hpp transmogrify.hpp
Log Message:
allow lambdas in custom assertions
Index: is_pure.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/static/is_pure.hpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- is_pure.hpp 31 May 2007 18:51:51 -0000 1.23
+++ is_pure.hpp 1 Jun 2007 06:19:00 -0000 1.24
@@ -77,9 +77,9 @@
template<typename Expr, typename Char>
struct use_simple_repeat_<Expr, Char, proto::tag::bitwise_or>
: mpl::and_<
- use_simple_repeat_<typename Expr::arg0_type::type, Char>
+ mpl::not_equal_to<unknown_width, width_of<Expr, Char> >
+ , use_simple_repeat_<typename Expr::arg0_type::type, Char>
, use_simple_repeat_<typename Expr::arg1_type::type, Char>
- , mpl::not_equal_to<unknown_width, width_of<Expr, Char> >
>
{};
Index: placeholders.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/static/placeholders.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- placeholders.hpp 30 Apr 2007 00:28:21 -0000 1.8
+++ placeholders.hpp 1 Jun 2007 06:19:00 -0000 1.9
@@ -22,17 +22,6 @@
{
///////////////////////////////////////////////////////////////////////////////
-// not_literal_placeholder
-//
-template<typename Char>
-struct not_literal_placeholder
-{
- BOOST_XPR_QUANT_STYLE(quant_fixed_width, 1, true)
-
- Char ch_;
-};
-
-///////////////////////////////////////////////////////////////////////////////
// mark_placeholder
//
struct mark_placeholder
@@ -115,6 +104,7 @@
{
BOOST_XPR_QUANT_STYLE(quant_variable_width, unknown_width::value, false)
+ typedef Predicate predicate_type;
Predicate pred;
};
Index: transmogrify.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/static/transmogrify.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- transmogrify.hpp 30 May 2007 07:58:22 -0000 1.3
+++ transmogrify.hpp 1 Jun 2007 06:19:00 -0000 1.4
@@ -123,20 +123,6 @@
};
template<typename BidiIter, typename ICase, typename Traits, typename Char>
- struct transmogrify<BidiIter, ICase, Traits, not_literal_placeholder<Char>
>
- {
- typedef typename iterator_value<BidiIter>::type char_type;
- typedef literal_matcher<Traits, ICase::value, true> type;
-
- template<typename Matcher2, typename Visitor>
- static type call(Matcher2 const &m, Visitor &visitor)
- {
- char_type ch = char_cast<char_type>(m.ch_, visitor.traits());
- return type(ch, visitor.traits());
- }
- };
-
- template<typename BidiIter, typename ICase, typename Traits, typename Char>
struct transmogrify<BidiIter, ICase, Traits, range_placeholder<Char> >
{
// By design, we don't widen character ranges.
-------------------------------------------------------------------------
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