tmp/tmpwo9061gr/{from.md → to.md}
RENAMED
|
@@ -16,17 +16,19 @@ string_type do_transform(const charT* low, const charT* high) const;
|
|
| 16 |
```
|
| 17 |
|
| 18 |
*Returns:* A `basic_string<charT>` value that, compared
|
| 19 |
lexicographically with the result of calling `transform()` on another
|
| 20 |
string, yields the same result as calling `do_compare()` on the same two
|
| 21 |
-
strings.[^
|
| 22 |
|
| 23 |
``` cpp
|
| 24 |
long do_hash(const charT* low, const charT* high) const;
|
| 25 |
```
|
| 26 |
|
| 27 |
*Returns:* An integer value equal to the result of calling `hash()` on
|
| 28 |
any other string for which `do_compare()` returns 0 (equal) when passed
|
| 29 |
-
the two strings.
|
|
|
|
|
|
|
| 30 |
string which does not compare equal should be very small, approaching
|
| 31 |
-
`(1.0/numeric_limits<unsigned long>::max())`.
|
| 32 |
|
|
|
|
| 16 |
```
|
| 17 |
|
| 18 |
*Returns:* A `basic_string<charT>` value that, compared
|
| 19 |
lexicographically with the result of calling `transform()` on another
|
| 20 |
string, yields the same result as calling `do_compare()` on the same two
|
| 21 |
+
strings.[^14]
|
| 22 |
|
| 23 |
``` cpp
|
| 24 |
long do_hash(const charT* low, const charT* high) const;
|
| 25 |
```
|
| 26 |
|
| 27 |
*Returns:* An integer value equal to the result of calling `hash()` on
|
| 28 |
any other string for which `do_compare()` returns 0 (equal) when passed
|
| 29 |
+
the two strings.
|
| 30 |
+
|
| 31 |
+
[*Note 1*: The probability that the result equals that for another
|
| 32 |
string which does not compare equal should be very small, approaching
|
| 33 |
+
`(1.0/numeric_limits<unsigned long>::max())`. — *end note*]
|
| 34 |
|