Update of /cvsroot/boost/boost/boost/xpressive/detail/dynamic
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23448/boost/xpressive/detail/dynamic
Modified Files:
parser.hpp
Log Message:
hooray, non-char data works\!
Index: parser.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/dynamic/parser.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- parser.hpp 30 May 2007 08:34:03 -0000 1.9
+++ parser.hpp 30 May 2007 19:40:10 -0000 1.10
@@ -217,7 +217,7 @@
{
typedef typename Traits::char_type char_type;
bool const icase = (0 != (regex_constants::icase_ & flags));
- bool const optimize = 1 == sizeof(char_type) && 0 !=
(regex_constants::optimize & flags);
+ bool const optimize = is_narrow_char<char_type>::value && 0 !=
(regex_constants::optimize & flags);
// don't care about compile speed -- fold eveything into a bitset<256>
if(optimize)
-------------------------------------------------------------------------
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