Matthias Kretz
ed8b9eeeee
libstdc++: New _IotaArray utility to simplify index pack creation
...
This patch introduces the internal helper type _IotaArray to simplify
defining a pack of indices via a structured binding declaration:
constexpr auto [...__is] = _IotaArray<N>;
_IotaArray is a C-array for lowest overhead in terms of template
instantiations. Non-GCC compilers that do not implement
__integer_pack have a slightly higher overhead.
libstdc++-v3/ChangeLog:
* include/bits/utility.h (_IotaArray): Define.
* testsuite/ext/iotaarray.cc: New test.
Signed-off-by: Matthias Kretz <m.kretz@gsi.de >
2025-10-27 11:48:49 +01:00
..
2025-03-27 13:47:30 +01:00
2025-08-21 11:54:41 +02:00
2025-01-02 11:59:57 +01:00
2025-05-22 14:20:35 +02:00
2025-01-02 11:59:57 +01:00
2025-10-17 10:26:26 +02:00
2025-01-10 21:06:21 +00:00
2025-06-06 09:52:31 +01:00
2025-06-06 09:52:31 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-10-07 12:11:21 +01:00
2025-04-15 09:24:58 +01:00
2025-09-04 15:30:00 +02:00
2025-05-29 11:49:03 +01:00
2025-01-02 11:59:57 +01:00
2025-06-04 14:55:40 -04:00
2025-04-29 10:52:59 +01:00
2025-01-02 11:59:57 +01:00
2025-10-10 09:23:01 +02:00
2025-10-15 21:54:56 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-15 09:24:58 +01:00
2025-07-11 08:34:17 +01:00
2025-06-02 13:52:35 +02:00
2025-09-27 21:18:42 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-10-10 09:00:22 +02:00
2025-04-11 13:56:03 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-06-02 13:52:35 +02:00
2025-01-02 11:59:57 +01:00
2025-07-15 10:25:34 +01:00
2025-10-20 17:42:19 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-02-25 22:27:14 +01:00
2025-10-14 15:47:20 +01:00
2025-01-02 11:59:57 +01:00
2025-10-08 17:06:20 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-09-11 14:38:59 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-08 12:45:37 +00:00
2025-04-29 10:52:59 +01:00
2025-01-02 11:59:57 +01:00
2025-03-19 23:29:06 +00:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-07-11 08:34:13 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-06-02 13:52:35 +02:00
2025-01-02 11:59:57 +01:00
2025-08-26 18:16:04 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-29 10:52:59 +01:00
2025-01-02 11:59:57 +01:00
2024-09-25 08:20:45 -04:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-09-26 11:05:49 +01:00
2025-05-06 17:19:25 +01:00
2025-01-02 11:59:57 +01:00
2025-10-07 12:11:21 +01:00
2025-09-26 11:01:08 +01:00
2025-02-15 10:58:56 +00:00
2025-09-17 14:14:37 -04:00
2025-08-18 14:05:06 +02:00
2025-09-12 21:46:48 +01:00
2025-01-02 11:59:57 +01:00
2025-07-15 10:25:48 +01:00
2025-09-17 14:14:37 -04:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-29 19:54:35 +01:00
2025-04-29 19:54:35 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-04-29 19:54:35 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-08 12:45:37 +00:00
2025-01-02 11:59:57 +01:00
2025-10-07 12:15:28 +01:00
2025-06-06 20:15:07 +01:00
2025-10-14 14:38:30 +02:00
2025-10-11 00:09:19 +01:00
2025-07-09 12:14:40 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-05-27 12:11:43 +01:00
2025-04-29 10:52:59 +01:00
2025-10-14 17:26:42 +01:00
2025-01-02 11:59:57 +01:00
2025-09-26 11:05:59 +01:00
2025-09-26 11:05:59 +01:00
2025-04-11 13:56:03 +02:00
2025-09-22 15:59:21 +02:00
2025-09-23 16:38:28 +01:00
2025-09-26 11:05:49 +01:00
2025-09-26 11:05:49 +01:00
2025-10-22 14:48:04 +01:00
2025-07-19 00:10:10 +01:00
2025-07-07 21:50:51 +01:00
2025-04-11 13:56:03 +02:00
2025-10-14 15:47:20 +01:00
2025-10-14 15:47:20 +01:00
2025-10-14 15:47:20 +01:00
2025-01-02 11:59:57 +01:00
2025-09-03 12:16:18 +01:00
2025-04-25 13:02:04 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-10-14 15:47:20 +01:00
2025-04-25 13:02:04 +02:00
2025-06-12 18:41:30 +02:00
2025-10-14 15:47:20 +01:00
2025-10-01 13:54:59 +01:00
2025-08-26 18:18:32 +02:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-10-15 21:54:56 +01:00
2025-10-08 18:02:39 +02:00
2025-10-13 11:04:28 +01:00
2025-04-29 10:52:59 +01:00
2025-03-06 16:46:19 +00:00
2025-09-10 23:24:10 +01:00
2025-10-14 15:47:20 +01:00
2025-10-14 15:47:20 +01:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-10-27 11:48:49 +01:00
2025-01-02 11:59:57 +01:00
2025-10-27 09:54:55 +00:00
2025-01-02 11:59:57 +01:00
2025-01-02 11:59:57 +01:00
2025-08-26 18:18:32 +02:00
2025-10-22 09:53:04 +02:00
2025-10-22 09:53:04 +02:00
2025-10-09 15:25:59 +01:00