We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06be8f8 + f753069 commit 52b26f5Copy full SHA for 52b26f5
source/utilities.tex
@@ -221,6 +221,21 @@
221
explicit nontype_t() = default;
222
};
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>;
239
}
240
\end{codeblock}
241
0 commit comments