From Jason Turner

[basic.string.hash]

Diff to HTML by rtfpessoa

tmp/tmpvqhzncy8/{from.md → to.md} RENAMED
@@ -1,12 +1,13 @@
1
- ## Hash support <a id="basic.string.hash">[[basic.string.hash]]</a>
2
 
3
  ``` cpp
4
  template<> struct hash<string>;
5
  template<> struct hash<u16string>;
6
  template<> struct hash<u32string>;
7
  template<> struct hash<wstring>;
8
  ```
9
 
10
- The template specializations shall meet the requirements of class
11
- template `hash` ([[unord.hash]]).
 
12
 
 
1
+ ### Hash support <a id="basic.string.hash">[[basic.string.hash]]</a>
2
 
3
  ``` cpp
4
  template<> struct hash<string>;
5
  template<> struct hash<u16string>;
6
  template<> struct hash<u32string>;
7
  template<> struct hash<wstring>;
8
  ```
9
 
10
+ If `S` is one of these string types, `SV` is the corresponding string
11
+ view type, and `s` is an object of type `S`, then
12
+ `hash<S>()(s) == hash<SV>()(SV(s))`.
13