From: Feng Jisen Date: Fri, 3 Nov 2023 16:33:44 +0000 (+0000) Subject: libstdc++: Remove redundant partial specialization in _Nth_type X-Git-Tag: basepoints/gcc-15~5015 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ada871cfadd3f4960b4435f6f7f07a5aca1887d3;p=thirdparty%2Fgcc.git libstdc++: Remove redundant partial specialization in _Nth_type libstdc++-v3/ChangeLog: * include/bits/utility.h (_Nth_type): Remove redundant partial specialization. --- 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; };