tmp/tmp6yd85ubr/{from.md → to.md}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
-
#####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
int do_compare(const charT* low1, const charT* high1,
|
| 5 |
const charT* low2, const charT* high2) const;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* `1` if the first string is greater than the second, `-1` if
|
| 9 |
less, zero otherwise. The specializations required in
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
|
| 14 |
``` cpp
|
| 15 |
string_type do_transform(const charT* low, const charT* high) const;
|
| 16 |
```
|
| 17 |
|
|
|
|
| 1 |
+
##### Virtual functions <a id="locale.collate.virtuals">[[locale.collate.virtuals]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
int do_compare(const charT* low1, const charT* high1,
|
| 5 |
const charT* low2, const charT* high2) const;
|
| 6 |
```
|
| 7 |
|
| 8 |
*Returns:* `1` if the first string is greater than the second, `-1` if
|
| 9 |
less, zero otherwise. The specializations required in
|
| 10 |
+
[[locale.category.facets]][[locale.category]], namely `collate<char>`
|
| 11 |
+
and `collate<wchar_t>`, implement a lexicographical
|
| 12 |
+
comparison [[alg.lex.comparison]].
|
| 13 |
|
| 14 |
``` cpp
|
| 15 |
string_type do_transform(const charT* low, const charT* high) const;
|
| 16 |
```
|
| 17 |
|