regex.h (basic_regex): Rename _Ch_typeraits template parameters to _Ch_traits.
authorJonathan Wakely <jwakely@redhat.com>
Mon, 15 Sep 2014 10:57:51 +0000 (11:57 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 15 Sep 2014 10:57:51 +0000 (11:57 +0100)
* include/bits/regex.h (basic_regex): Rename _Ch_typeraits template
parameters to _Ch_traits.

From-SVN: r215261

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

index 266a11662370478b71b23318dade4c223ee97e1d..4ac9347e9beac41fc91b28b7061e9c2b7221c8a0 100644 (file)
@@ -1,3 +1,8 @@
+2014-09-15  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/regex.h (basic_regex): Rename _Ch_typeraits template
+       parameters to _Ch_traits.
+
 2014-09-12  Jonathan Wakely  <jwakely@redhat.com>
 
        * include/debug/deque (__gnu_debug::deque): Make base class C++11
index 9dc83fda562ecd43dc0df9d3b877c6386eea0f46..52050890c9ae43a63aade6f7bfcef7e64a44c582 100644 (file)
@@ -577,9 +577,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
        *
        * @param __s A pointer to a string containing a regular expression.
        */
-      template<typename _Ch_typeraits, typename _Alloc>
+      template<typename _Ch_traits, typename _Alloc>
        basic_regex&
-       operator=(const basic_string<_Ch_type, _Ch_typeraits, _Alloc>& __s)
+       operator=(const basic_string<_Ch_type, _Ch_traits, _Alloc>& __s)
        { return this->assign(__s, flags()); }
 
       // [7.8.3] assign
@@ -654,9 +654,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
        * expression pattern interpreted according to @p __flags.  If
        * regex_error is thrown, *this remains unchanged.
        */
-      template<typename _Ch_typeraits, typename _Alloc>
+      template<typename _Ch_traits, typename _Alloc>
        basic_regex&
-       assign(const basic_string<_Ch_type, _Ch_typeraits, _Alloc>& __s,
+       assign(const basic_string<_Ch_type, _Ch_traits, _Alloc>& __s,
               flag_type __flags = ECMAScript)
        {
          _M_flags = __flags;