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 220220 explicit nontype_t() = default;
221221 };
222222 template<auto V> constexpr nontype_t<V> nontype{};
223+
224+ // \ref {variant.monostate }, class \tcode {monostate}%
225+ \indexlibraryglobal {monostate}
226+ struct monostate;
227+
228+ // \ref {variant.monostate.relops }, \tcode {monostate} relational operators%
229+ \indexlibrarymember {operator==}{monostate}%
230+ \indexlibrarymember {operator<=>}{monostate}
231+ constexpr bool operator==(monostate, monostate) noexcept;
232+ constexpr strong_ordering operator<=>(monostate, monostate) noexcept;
233+
234+ // \ref {variant.hash }, hash support%
235+ \indexlibrarymember {hash}{monostate}
236+ template<class T> struct hash;
237+ template<> struct hash<monostate>;
223238}
224239\end {codeblock }
225240
You can’t perform that action at this time.
0 commit comments