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 221221 explicit nontype_t() = default;
222222 };
223223 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>;
224239}
225240\end {codeblock }
226241
You can’t perform that action at this time.
0 commit comments