From ada871cfadd3f4960b4435f6f7f07a5aca1887d3 Mon Sep 17 00:00:00 2001 From: Feng Jisen Date: Fri, 3 Nov 2023 16:33:44 +0000 Subject: [PATCH] libstdc++: Remove redundant partial specialization in _Nth_type libstdc++-v3/ChangeLog: * include/bits/utility.h (_Nth_type): Remove redundant partial specialization. --- libstdc++-v3/include/bits/utility.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libstdc++-v3/include/bits/utility.h b/libstdc++-v3/include/bits/utility.h index bed945256425..8766dfbc15f1 100644 --- a/libstdc++-v3/include/bits/utility.h +++ b/libstdc++-v3/include/bits/utility.h @@ -258,10 +258,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { }; #if ! __cpp_concepts // Need additional specializations to avoid ambiguities. - template - struct _Nth_type<0, _Tp0, _Tp1, _Rest...> - { using type = _Tp0; }; - template struct _Nth_type<0, _Tp0, _Tp1, _Tp2, _Rest...> { using type = _Tp0; }; -- 2.47.2