Update of /cvsroot/boost/boost/boost/xpressive/detail/utility/chset
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv823/detail/utility/chset

Modified Files:
        range_run.ipp 
Log Message:
still more work to support non-char data

Index: range_run.ipp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/xpressive/detail/utility/chset/range_run.ipp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- range_run.ipp       26 Nov 2005 17:12:25 -0000      1.3
+++ range_run.ipp       30 May 2007 08:34:03 -0000      1.4
@@ -57,9 +57,9 @@
 inline bool range<Char>::overlaps(range<Char> const &r) const
 {
     Char decr_first =
-        this->first_ == (std::numeric_limits<Char>::min)() ? this->first_ : 
this->first_-1;
+        this->first_ == (std::numeric_limits<Char>::min)() ? this->first_ : 
Char(this->first_-1);
     Char incr_last =
-        this->last_ == (std::numeric_limits<Char>::max)() ? this->last_ : 
this->last_+1;
+        this->last_ == (std::numeric_limits<Char>::max)() ? this->last_ : 
Char(this->last_+1);
 
     return (decr_first <= r.last_) && (incr_last >= r.first_);
 }


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