From Jason Turner

[re.traits]

Diff to HTML by rtfpessoa

tmp/tmpd7fa74cr/{from.md → to.md} RENAMED
@@ -1,6 +1,6 @@
1
- ## Class template `regex_traits` <a id="re.traits">[[re.traits]]</a>
2
 
3
  ``` cpp
4
  namespace std {
5
  template<class charT>
6
  struct regex_traits {
@@ -80,11 +80,11 @@ template<class ForwardIterator>
80
  ```
81
 
82
  *Effects:* If
83
 
84
  ``` cpp
85
- typeid(use_facet<collate<charT>>) == typeid(collate_byname<charT>)
86
  ```
87
 
88
  and the form of the sort key returned by
89
  `collate_byname<charT>::transform(first, last)` is known and can be
90
  converted into a primary sort key then returns that key, otherwise
@@ -109,11 +109,11 @@ template<class ForwardIterator>
109
  *Returns:* An unspecified value that represents the character
110
  classification named by the character sequence designated by the
111
  iterator range \[`first`, `last`). If the parameter `icase` is `true`
112
  then the returned mask identifies the character classification without
113
  regard to the case of the characters being matched, otherwise it does
114
- honor the case of the characters being matched.[^1]
115
 
116
  The value returned shall be independent of the case of the characters in
117
  the character sequence. If the name is not recognized then returns
118
  `char_class_type()`.
119
 
@@ -195,11 +195,11 @@ the character `ch` is a valid digit in base `radix`; otherwise returns
195
 
196
  ``` cpp
197
  locale_type imbue(locale_type loc);
198
  ```
199
 
200
- *Effects:* Imbues `this` with a copy of the locale `loc`.
201
 
202
  [*Note 1*: Calling `imbue` with a different locale than the one
203
  currently in use invalidates all cached data held by
204
  `*this`. — *end note*]
205
 
 
1
+ ### Class template `regex_traits` <a id="re.traits">[[re.traits]]</a>
2
 
3
  ``` cpp
4
  namespace std {
5
  template<class charT>
6
  struct regex_traits {
 
80
  ```
81
 
82
  *Effects:* If
83
 
84
  ``` cpp
85
+ typeid(use_facet<collate<charT>>(getloc())) == typeid(collate_byname<charT>)
86
  ```
87
 
88
  and the form of the sort key returned by
89
  `collate_byname<charT>::transform(first, last)` is known and can be
90
  converted into a primary sort key then returns that key, otherwise
 
109
  *Returns:* An unspecified value that represents the character
110
  classification named by the character sequence designated by the
111
  iterator range \[`first`, `last`). If the parameter `icase` is `true`
112
  then the returned mask identifies the character classification without
113
  regard to the case of the characters being matched, otherwise it does
114
+ honor the case of the characters being matched.[^26]
115
 
116
  The value returned shall be independent of the case of the characters in
117
  the character sequence. If the name is not recognized then returns
118
  `char_class_type()`.
119
 
 
195
 
196
  ``` cpp
197
  locale_type imbue(locale_type loc);
198
  ```
199
 
200
+ *Effects:* Imbues `*this` with a copy of the locale `loc`.
201
 
202
  [*Note 1*: Calling `imbue` with a different locale than the one
203
  currently in use invalidates all cached data held by
204
  `*this`. — *end note*]
205