diff --git a/source/support.tex b/source/support.tex index c6929d58ff..538f6ed6f9 100644 --- a/source/support.tex +++ b/source/support.tex @@ -5738,16 +5738,17 @@ \indexlibraryglobal{type_order}% \begin{itemdecl} -template - struct type_order; +template struct type_order { + static constexpr strong_ordering @\libmember{value}{type_order}@ = @\exposid{TYPE-ORDER}@(T, U); + + using @\libmember{value_type}{type_order}@ = strong_ordering; + + constexpr @\libmember{operator value_type}{type_order}@() const noexcept { return value; } + constexpr value_type @\libmember{operator()}{type_order}@() const noexcept { return value; } +}; \end{itemdecl} \begin{itemdescr} -\pnum -The name \tcode{type_order} denotes a \oldconcept{BinaryTypeTrait}\iref{meta.rqmts} -with a base characteristic of -\tcode{inte\-gral_constant}. - \pnum \recommended The order should be lexicographical on parameter-type-lists and template argument lists.