tmp/tmpcy805vp9/{from.md → to.md}
RENAMED
|
@@ -2,16 +2,15 @@
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class... Types> struct hash<variant<Types...>>;
|
| 5 |
```
|
| 6 |
|
| 7 |
-
The specialization `hash<variant<Types...>>` is
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
not guaranteed to be `noexcept`.
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
template<> struct hash<monostate>;
|
| 14 |
```
|
| 15 |
|
| 16 |
-
The specialization is enabled
|
| 17 |
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class... Types> struct hash<variant<Types...>>;
|
| 5 |
```
|
| 6 |
|
| 7 |
+
The specialization `hash<variant<Types...>>` is enabled [[unord.hash]]
|
| 8 |
+
if and only if every specialization in `hash<remove_const_t<Types>>...`
|
| 9 |
+
is enabled. The member functions are not guaranteed to be `noexcept`.
|
|
|
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
template<> struct hash<monostate>;
|
| 13 |
```
|
| 14 |
|
| 15 |
+
The specialization is enabled [[unord.hash]].
|
| 16 |
|