]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove redundant partial specialization in _Nth_type
authorFeng Jisen <J1senn@outlook.com>
Fri, 3 Nov 2023 16:33:44 +0000 (16:33 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 4 Nov 2023 08:31:45 +0000 (08:31 +0000)
libstdc++-v3/ChangeLog:

* include/bits/utility.h (_Nth_type): Remove redundant partial
specialization.

libstdc++-v3/include/bits/utility.h

index bed9452564256421fcff11f6c3e1da5e78548c79..8766dfbc15f1ff5f88e161c9315af7bfc8189b7c 100644 (file)
@@ -258,10 +258,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     { };
 
 #if ! __cpp_concepts // Need additional specializations to avoid ambiguities.
-  template<typename _Tp0, typename _Tp1, typename... _Rest>
-    struct _Nth_type<0, _Tp0, _Tp1, _Rest...>
-    { using type = _Tp0; };
-
   template<typename _Tp0, typename _Tp1, typename _Tp2, typename... _Rest>
     struct _Nth_type<0, _Tp0, _Tp1, _Tp2, _Rest...>
     { using type = _Tp0; };