OSDN Git Service

PR libstdc++/45990
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Oct 2010 22:52:25 +0000 (22:52 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Oct 2010 22:52:25 +0000 (22:52 +0000)
* include/bits/regex.h (regex_traits::isctype): DR 1337.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165438 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h

index eadf65b..8c5da55 100644 (file)
@@ -1,3 +1,8 @@
+2010-10-13  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/45990
+       * include/bits/regex.h (regex_traits::isctype): DR 1337.
+
 2010-10-13  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/bits/random.h (discrete_distribution<>::param_type::
index bbec88c..64d4407 100644 (file)
@@ -287,7 +287,7 @@ namespace std
       const ctype<_Ch_type>& __ctype(use_facet<
                                     ctype<_Ch_type> >(_M_locale));
       
-      if (__ctype.is(__c, __f))
+      if (__ctype.is(__f, __c))
        return true;
       
       // special case of underscore in [[:w:]]