public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4962] libstdc++: Fix pack expansions in tuple_size_v specializations
@ 2021-11-05 21:45 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-11-05 21:45 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:70d6f6e41f77269f7d293c6fbccf978680e68d2a
commit r12-4962-g70d6f6e41f77269f7d293c6fbccf978680e68d2a
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Nov 5 21:40:58 2021 +0000
libstdc++: Fix pack expansions in tuple_size_v specializations
libstdc++-v3/ChangeLog:
* include/std/tuple (tuple_size_v): Fix pack expansion.
Diff:
---
libstdc++-v3/include/std/tuple | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libstdc++-v3/include/std/tuple b/libstdc++-v3/include/std/tuple
index 46173935b64..36dc05d97bc 100644
--- a/libstdc++-v3/include/std/tuple
+++ b/libstdc++-v3/include/std/tuple
@@ -1346,11 +1346,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
#if __cplusplus >= 201703L
template<typename... _Types>
- inline constexpr size_t tuple_size_v<tuple<_Types>>
+ inline constexpr size_t tuple_size_v<tuple<_Types...>>
= sizeof...(_Types);
template<typename... _Types>
- inline constexpr size_t tuple_size_v<const tuple<_Types>>
+ inline constexpr size_t tuple_size_v<const tuple<_Types...>>
= sizeof...(_Types);
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-05 21:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 21:45 [gcc r12-4962] libstdc++: Fix pack expansions in tuple_size_v specializations 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).