From Jason Turner

[string.view.hash]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpwvsxoblr/{from.md → to.md} +15 -0
tmp/tmpwvsxoblr/{from.md → to.md} RENAMED
@@ -0,0 +1,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<u16string_view>;
6
+ template<> struct hash<u32string_view>;
7
+ template<> struct hash<wstring_view>;
8
+ ```
9
+
10
+ The specialization is enabled ([[unord.hash]]).
11
+
12
+ [*Note 1*: The hash value of a string view object is equal to the hash
13
+ value of the corresponding string object
14
+ ([[basic.string.hash]]). — *end note*]
15
+