public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-8015] libstdc++: Remove redundant partial specialization in _Nth_type
@ 2023-11-08 13:18 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-11-08 13:18 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:c6e03a1c54451eaab872dcdd8ab927b7efe16c9c
commit r13-8015-gc6e03a1c54451eaab872dcdd8ab927b7efe16c9c
Author: Feng Jisen <J1senn@outlook.com>
Date: Fri Nov 3 16:33:44 2023 +0000
libstdc++: Remove redundant partial specialization in _Nth_type
libstdc++-v3/ChangeLog:
* include/bits/utility.h (_Nth_type): Remove redundant partial
specialization.
(cherry picked from commit ada871cfadd3f4960b4435f6f7f07a5aca1887d3)
Diff:
---
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 714e2c02680..d7385ed72fd 100644
--- a/libstdc++-v3/include/bits/utility.h
+++ b/libstdc++-v3/include/bits/utility.h
@@ -250,10 +250,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; };
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-08 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-08 13:18 [gcc r13-8015] libstdc++: Remove redundant partial specialization in _Nth_type Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).