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

Modified Files:
        peeker.hpp 
Log Message:
hooray, non-char data works\!

Index: peeker.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/xpressive/detail/core/peeker.hpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- peeker.hpp  30 May 2007 07:58:22 -0000      1.7
+++ peeker.hpp  30 May 2007 19:40:09 -0000      1.8
@@ -180,11 +180,8 @@
         return mpl::false_();
     }
 
-    template<typename Dummy = void>
-    struct is_char_8bit : mpl::bool_<1 == sizeof(Char)> {};
-
     template<bool ICase, typename Traits>
-    typename enable_if<is_char_8bit<Traits>, mpl::false_>::type
+    typename enable_if<is_narrow_char<typename Traits::char_type>, 
mpl::false_>::type
     accept(charset_matcher<Traits, ICase, basic_chset<Char> > const &xpr)
     {
         BOOST_ASSERT(0 != xpr.charset_.base().count());


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

Reply via email to