We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 805aac8 commit 563a74dCopy full SHA for 563a74d
source/utilities.tex
@@ -220,6 +220,17 @@
220
explicit nontype_t() = default;
221
};
222
template<auto V> constexpr nontype_t<V> nontype{};
223
+
224
+ // \ref{variant.monostate}, class \tcode{monostate}
225
+ struct monostate;
226
227
+ // \ref{variant.monostate.relops}, \tcode{monostate} relational operators
228
+ constexpr bool operator==(monostate, monostate) noexcept;
229
+ constexpr strong_ordering operator<=>(monostate, monostate) noexcept;
230
231
+ // \ref{variant.hash}, hash support
232
+ template<class T> struct hash;
233
+ template<> struct hash<monostate>;
234
}
235
\end{codeblock}
236
0 commit comments