File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 221
221
explicit nontype_t() = default;
222
222
};
223
223
template<auto V> constexpr nontype_t<V> nontype{};
224
+
225
+ // \ref {variant.monostate }, class \tcode {monostate}%
226
+ \indexlibraryglobal {monostate}
227
+ struct monostate;
228
+
229
+ // \ref {variant.monostate.relops }, \tcode {monostate} relational operators%
230
+ \indexlibrarymember {operator==}{monostate}%
231
+ \indexlibrarymember {operator<=>}{monostate}
232
+ constexpr bool operator==(monostate, monostate) noexcept;
233
+ constexpr strong_ordering operator<=>(monostate, monostate) noexcept;
234
+
235
+ // \ref {variant.hash }, hash support%
236
+ \indexlibrarymember {hash}{monostate}
237
+ template<class T> struct hash;
238
+ template<> struct hash<monostate>;
224
239
}
225
240
\end {codeblock }
226
241
You can’t perform that action at this time.
0 commit comments