Update of /cvsroot/boost/boost/boost/xpressive/detail/core
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23023/boost/xpressive/detail/core
Modified Files:
quant_style.hpp
Log Message:
faster, better use_simple_repeat<> trait
Index: quant_style.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/core/quant_style.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- quant_style.hpp 19 Nov 2006 21:15:17 -0000 1.5
+++ quant_style.hpp 31 May 2007 18:51:51 -0000 1.6
@@ -54,7 +54,7 @@
typedef void is_boost_xpressive_xpression_;
// Which quantification strategy to use?
- BOOST_STATIC_CONSTANT(quant_enum, quant = QuantStyle);
+ BOOST_STATIC_CONSTANT(int, quant = QuantStyle);
// how many characters this matcher consumes
BOOST_STATIC_CONSTANT(std::size_t, width = Width);
@@ -70,7 +70,7 @@
#define BOOST_XPR_QUANT_STYLE(Style, Width, Pure)\
typedef void is_boost_xpressive_xpression_;\
- BOOST_STATIC_CONSTANT(quant_enum, quant = Style);\
+ BOOST_STATIC_CONSTANT(int, quant = Style);\
BOOST_STATIC_CONSTANT(std::size_t, width = Width);\
BOOST_STATIC_CONSTANT(bool, pure = Pure);\
static detail::width get_width() { return width; }\
-------------------------------------------------------------------------
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