From 4e5a3ba2273ee730411c6da2516bccc926792a5d Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Fri, 4 Sep 2026 09:25:26 +0200 Subject: [PATCH] [compare.syn] Remove stray "is_geq" index entry Additionally, this change converts the up-front \indexlibraryglobal to inline indexing with \libglobal. --- source/support.tex | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/source/support.tex b/source/support.tex index 30dd35855a..3857fb491c 100644 --- a/source/support.tex +++ b/source/support.tex @@ -4762,16 +4762,6 @@ for use primarily in connection with the three-way comparison operator\iref{expr.spaceship}. -\indexlibraryglobal{is_eq}% -\indexlibraryglobal{is_neq}% -\indexlibraryglobal{is_lt}% -\indexlibraryglobal{is_lteq}% -\indexlibraryglobal{is_gt}% -\indexlibraryglobal{is_geq}% -\indexlibraryglobal{is_gteq}% -\indexlibraryglobal{common_comparison_category_t}% -\indexlibraryglobal{compare_three_way_result_t}% -\indexlibraryglobal{type_order_v}% \begin{codeblock} // all freestanding namespace std { @@ -4781,12 +4771,12 @@ class strong_ordering; // named comparison functions - constexpr bool is_eq (partial_ordering cmp) noexcept { return cmp == 0; } - constexpr bool is_neq (partial_ordering cmp) noexcept { return cmp != 0; } - constexpr bool is_lt (partial_ordering cmp) noexcept { return cmp < 0; } - constexpr bool is_lteq(partial_ordering cmp) noexcept { return cmp <= 0; } - constexpr bool is_gt (partial_ordering cmp) noexcept { return cmp > 0; } - constexpr bool is_gteq(partial_ordering cmp) noexcept { return cmp >= 0; } + constexpr bool @\libglobal{is_eq}@ (partial_ordering cmp) noexcept { return cmp == 0; } + constexpr bool @\libglobal{is_neq}@ (partial_ordering cmp) noexcept { return cmp != 0; } + constexpr bool @\libglobal{is_lt}@ (partial_ordering cmp) noexcept { return cmp < 0; } + constexpr bool @\libglobal{is_lteq}@(partial_ordering cmp) noexcept { return cmp <= 0; } + constexpr bool @\libglobal{is_gt}@ (partial_ordering cmp) noexcept { return cmp > 0; } + constexpr bool @\libglobal{is_gteq}@(partial_ordering cmp) noexcept { return cmp >= 0; } // \ref{cmp.common}, common comparison category type template @@ -4794,7 +4784,7 @@ using type = @\seebelow@; }; template - using common_comparison_category_t = common_comparison_category::type; + using @\libglobal{common_comparison_category_t}@ = common_comparison_category::type; // \ref{cmp.concept}, concept \libconcept{three_way_comparable} template @@ -4806,7 +4796,7 @@ template struct compare_three_way_result; template - using compare_three_way_result_t = compare_three_way_result::type; + using @\libglobal{compare_three_way_result_t}@ = compare_three_way_result::type; // \ref{comparisons.three.way}, class \tcode{compare_three_way} struct compare_three_way; @@ -4826,7 +4816,7 @@ struct type_order; template - constexpr strong_ordering type_order_v = type_order::value; + constexpr strong_ordering @\libglobal{type_order_v}@ = type_order::value; } \end{codeblock}