From Jason Turner

[locale.collate]

Diff to HTML by rtfpessoa

tmp/tmpk25c95y5/{from.md → to.md} RENAMED
@@ -1,8 +1,8 @@
1
- #### Class template `collate` <a id="locale.collate">[[locale.collate]]</a>
2
 
3
- ##### General <a id="locale.collate.general">[[locale.collate.general]]</a>
4
 
5
  ``` cpp
6
  namespace std {
7
  template<class charT>
8
  class collate : public locale::facet {
@@ -39,11 +39,11 @@ and `collate<wchar_t>`, apply lexicographical ordering
39
  [[alg.lex.comparison]].
40
 
41
  Each function compares a string of characters `*p` in the range \[`low`,
42
  `high`).
43
 
44
- ##### Members <a id="locale.collate.members">[[locale.collate.members]]</a>
45
 
46
  ``` cpp
47
  int compare(const charT* low1, const charT* high1,
48
  const charT* low2, const charT* high2) const;
49
  ```
@@ -60,11 +60,11 @@ string_type transform(const charT* low, const charT* high) const;
60
  long hash(const charT* low, const charT* high) const;
61
  ```
62
 
63
  *Returns:* `do_hash(low, high)`.
64
 
65
- ##### Virtual functions <a id="locale.collate.virtuals">[[locale.collate.virtuals]]</a>
66
 
67
  ``` cpp
68
  int do_compare(const charT* low1, const charT* high1,
69
  const charT* low2, const charT* high2) const;
70
  ```
 
1
+ ##### Class template `collate` <a id="locale.collate">[[locale.collate]]</a>
2
 
3
+ ###### General <a id="locale.collate.general">[[locale.collate.general]]</a>
4
 
5
  ``` cpp
6
  namespace std {
7
  template<class charT>
8
  class collate : public locale::facet {
 
39
  [[alg.lex.comparison]].
40
 
41
  Each function compares a string of characters `*p` in the range \[`low`,
42
  `high`).
43
 
44
+ ###### Members <a id="locale.collate.members">[[locale.collate.members]]</a>
45
 
46
  ``` cpp
47
  int compare(const charT* low1, const charT* high1,
48
  const charT* low2, const charT* high2) const;
49
  ```
 
60
  long hash(const charT* low, const charT* high) const;
61
  ```
62
 
63
  *Returns:* `do_hash(low, high)`.
64
 
65
+ ###### Virtual functions <a id="locale.collate.virtuals">[[locale.collate.virtuals]]</a>
66
 
67
  ``` cpp
68
  int do_compare(const charT* low1, const charT* high1,
69
  const charT* low2, const charT* high2) const;
70
  ```