From 6443b75b1097ed3d1a691535a4c5e9e9a96a935a Mon Sep 17 00:00:00 2001 From: J1senn Date: Sat, 28 Oct 2023 20:49:42 +0800 Subject: [PATCH] remove redundant partial template in _Nth_type --- 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 bed94525642..8766dfbc15f 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.42.0