From: Jakub Jelinek Date: Mon, 10 Nov 2025 08:59:13 +0000 (+0100) Subject: libstdc++: Implement final wording of C++26 P3778R0 - type_order X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52fc9f01da295f92ed8d5139b102b9c517d1c9ae;p=thirdparty%2Fgcc.git libstdc++: Implement final wording of C++26 P3778R0 - type_order The approved P3778R0 wording doesn't have type_order<_Tp, _Up>::type, so this patch removes it. 2025-11-10 Jakub Jelinek * libsupc++/compare: Implement final wording of C++26 P3778R0 - Fix for type_order template definition. (std::type_order): Remove type member. --- diff --git a/libstdc++-v3/libsupc++/compare b/libstdc++-v3/libsupc++/compare index 7e3ad830803..458b47c3fca 100644 --- a/libstdc++-v3/libsupc++/compare +++ b/libstdc++-v3/libsupc++/compare @@ -1272,7 +1272,6 @@ namespace std _GLIBCXX_VISIBILITY(default) { static constexpr strong_ordering value = __builtin_type_order(_Tp, _Up); using value_type = strong_ordering; - using type = type_order<_Tp, _Up>; constexpr operator value_type() const noexcept { return value; } constexpr value_type operator()() const noexcept { return value; } };