Geoff Romer
daebbf32fa
Restructure ArgAndKind as a type-safe generic ID. ( #7172 )
...
The key changes here are:
- Relocating and renaming it to align with `IdKind` (and relocating
`ToRaw` and `FromRaw` to follow it).
- Adding a `Dispatch` method that provides a generic overload-based API
for expressing per-ID-kind dispatch, and rewriting existing code to use
it.
Note in particular that using overloads instead of switch cases makes it
possible to generically handle all specializations of a templated ID
type, e.g. `SomeIdType<T>` for all `T`. We have no such templated ID
types yet, but I'm introducing one in a follow-up PR that needs this
capability.
2026-05-07 00:13:52 +00:00
..
2026-05-04 20:28:58 +00:00
2026-05-06 14:17:54 +00:00
2026-05-07 00:13:52 +00:00
2026-04-29 18:13:42 +00:00
2026-05-01 21:22:32 +00:00
2026-05-01 18:41:33 +00:00
2026-04-29 18:33:53 +00:00
2026-03-27 21:41:04 +00:00
2026-01-14 19:32:03 +00:00
2026-02-04 17:24:55 +00:00
2026-02-04 17:24:55 +00:00
2026-02-09 22:00:21 +00:00
2025-07-11 22:29:10 +00:00
2026-04-23 20:11:04 +00:00
2026-04-23 20:11:04 +00:00
2026-03-27 21:41:04 +00:00
2025-07-10 16:32:39 +00:00
2026-04-29 18:33:53 +00:00
2026-04-29 18:33:53 +00:00
2025-12-11 21:41:47 +00:00
2026-03-25 21:07:24 +00:00
2025-12-11 21:41:47 +00:00
2026-04-30 20:27:20 +00:00
2026-04-28 01:00:21 +00:00
2026-02-11 02:08:16 +00:00
2026-02-25 15:15:29 +00:00
2026-02-19 23:33:36 +00:00
2026-05-07 00:13:52 +00:00
2026-02-19 16:24:07 +00:00
2025-06-10 22:09:31 +00:00
2025-06-10 22:09:31 +00:00
2026-04-23 20:11:04 +00:00
2026-02-04 17:24:55 +00:00
2026-02-25 15:15:29 +00:00
2025-12-19 18:48:20 +00:00
2026-05-01 21:22:32 +00:00
2026-04-29 18:13:42 +00:00
2026-05-07 00:13:52 +00:00
2026-03-27 19:36:52 +00:00
2026-05-01 21:22:32 +00:00
2026-05-01 21:22:32 +00:00
2026-03-09 22:30:16 +00:00
2026-04-29 18:13:42 +00:00
2026-04-29 00:28:00 +00:00
2026-02-19 16:24:07 +00:00
2026-02-19 16:24:07 +00:00
2026-03-27 19:36:52 +00:00
2026-02-19 16:24:07 +00:00
2026-04-22 23:38:21 +00:00
2026-02-26 20:10:50 +00:00
2026-05-04 14:45:06 +00:00
2025-12-30 19:18:34 +00:00
2026-02-19 23:33:36 +00:00
2026-05-01 22:45:22 +00:00
2026-02-19 23:33:36 +00:00
2026-03-06 17:35:48 +00:00
2026-05-01 22:45:22 +00:00
2026-05-01 18:46:52 +00:00
2026-05-04 19:11:51 +00:00
2026-03-31 22:27:43 +00:00
2026-02-09 22:00:21 +00:00
2026-03-31 22:27:43 +00:00
2026-04-28 01:00:21 +00:00
2026-01-14 16:58:15 +00:00
2026-04-16 23:31:31 +00:00
2026-03-22 02:03:48 +00:00
2026-04-29 00:28:00 +00:00
2026-03-10 20:04:28 +00:00
2026-02-11 02:08:16 +00:00
2026-03-09 22:30:16 +00:00
2026-03-26 15:26:56 +00:00
2026-02-26 19:21:19 +00:00
2026-04-28 20:10:13 +00:00
2026-04-16 23:31:31 +00:00
2026-05-01 21:22:32 +00:00
2026-05-02 01:09:50 +00:00
2026-02-09 22:00:21 +00:00
2026-05-04 16:42:06 +00:00
2025-06-10 22:09:31 +00:00
2026-05-01 21:22:32 +00:00
2026-04-24 19:08:11 +00:00
2026-05-06 14:17:54 +00:00
2026-05-04 19:11:51 +00:00
2026-02-19 16:24:07 +00:00
2026-05-04 19:11:51 +00:00
2025-09-10 21:40:27 +00:00
2026-03-24 20:56:44 +00:00
2026-03-24 20:56:44 +00:00
2025-11-11 16:36:15 +00:00
2026-04-29 18:13:42 +00:00
2026-04-16 23:31:31 +00:00
2026-02-19 23:33:36 +00:00
2026-02-19 16:24:07 +00:00
2025-09-12 22:59:37 +00:00
2026-02-11 02:08:16 +00:00
2026-02-19 23:33:36 +00:00
2026-02-26 20:10:50 +00:00
2026-02-26 20:10:50 +00:00
2026-04-29 18:13:42 +00:00
2026-02-25 15:15:29 +00:00
2026-03-23 20:38:20 +00:00
2026-03-23 20:38:20 +00:00
2026-02-19 16:24:07 +00:00
2026-02-19 16:24:07 +00:00
2026-04-22 23:38:21 +00:00
2026-04-22 23:38:21 +00:00
2026-03-27 21:41:04 +00:00
2026-01-21 17:48:18 +00:00
2025-06-10 20:54:58 +00:00
2025-06-10 20:54:58 +00:00
2025-12-09 20:38:50 +00:00
2025-12-09 20:38:50 +00:00
2025-06-10 22:09:31 +00:00
2025-06-10 22:09:31 +00:00
2026-01-14 19:32:03 +00:00
2026-05-04 19:11:51 +00:00
2026-04-29 18:33:53 +00:00
2026-02-25 15:15:29 +00:00
2026-04-29 18:33:53 +00:00
2026-04-29 18:33:53 +00:00
2026-04-29 18:13:42 +00:00
2026-04-29 00:28:00 +00:00
2026-05-04 21:50:13 +00:00
2026-05-04 16:42:06 +00:00
2026-05-04 14:52:00 +00:00
2026-03-28 00:06:06 +00:00
2026-03-26 15:26:56 +00:00
2026-03-26 15:26:56 +00:00
2026-05-01 19:53:16 +00:00
2026-02-19 23:33:36 +00:00
2025-11-14 13:50:56 +00:00
2026-02-19 23:33:36 +00:00
2026-02-19 23:33:36 +00:00
2026-05-07 00:13:52 +00:00
2025-10-28 17:17:38 +00:00
2026-05-04 20:28:58 +00:00
2026-05-04 20:28:58 +00:00
2026-05-01 21:22:32 +00:00
2026-03-26 15:26:56 +00:00
2026-04-09 13:25:16 +00:00
2025-12-18 17:26:28 +00:00
2026-04-27 19:04:59 +00:00
2026-02-26 23:01:24 +00:00
2026-02-26 18:57:15 +00:00
2026-02-19 23:33:36 +00:00