tmp/tmpo3pj3f2r/{from.md → to.md}
RENAMED
|
@@ -1,15 +1,16 @@
|
|
| 1 |
### Hash support <a id="string.view.hash">[[string.view.hash]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<> struct hash<string_view>;
|
|
|
|
| 5 |
template<> struct hash<u16string_view>;
|
| 6 |
template<> struct hash<u32string_view>;
|
| 7 |
template<> struct hash<wstring_view>;
|
| 8 |
```
|
| 9 |
|
| 10 |
-
The specialization is enabled
|
| 11 |
|
| 12 |
[*Note 1*: The hash value of a string view object is equal to the hash
|
| 13 |
-
value of the corresponding string
|
| 14 |
-
|
| 15 |
|
|
|
|
| 1 |
### Hash support <a id="string.view.hash">[[string.view.hash]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<> struct hash<string_view>;
|
| 5 |
+
template<> struct hash<u8string_view>;
|
| 6 |
template<> struct hash<u16string_view>;
|
| 7 |
template<> struct hash<u32string_view>;
|
| 8 |
template<> struct hash<wstring_view>;
|
| 9 |
```
|
| 10 |
|
| 11 |
+
The specialization is enabled [[unord.hash]].
|
| 12 |
|
| 13 |
[*Note 1*: The hash value of a string view object is equal to the hash
|
| 14 |
+
value of the corresponding string
|
| 15 |
+
object [[basic.string.hash]]. — *end note*]
|
| 16 |
|