Files
serenity/AK
Hendiadyoin1 d11a28576d AK: Make the Variant constructor use proper instantiation patterns
Previously we inherited from a set of constructors, which casted
themselves to the final Variant type to initialize the wanted storage,
which is very UB.
Now we choose the best overload by checking for which Variant member <T>
we can call a function taking a <T>, while passing in a fully qualified
argument <U>, as passed into the Variant constructor, essentially
emulating the normal constructor lookup.
2026-08-15 08:04:07 +02:00
..
2026-06-21 17:52:25 -04:00
2025-09-23 10:34:28 -04:00
2023-03-09 21:43:54 +01:00
2023-03-09 21:43:54 +01:00
2025-10-10 00:02:50 +02:00
2026-02-22 01:33:56 +01:00
2024-06-13 17:40:24 +02:00
2025-10-10 00:02:50 +02:00
2026-06-21 15:26:06 -04:00
2025-10-10 00:02:50 +02:00
2024-01-21 16:16:15 -07:00
2024-06-19 15:45:02 +02:00
2026-04-06 15:44:56 +02:00
2025-10-10 00:02:50 +02:00
2024-04-26 23:46:23 -06:00
2026-04-06 15:44:56 +02:00
2025-08-31 14:04:15 -04:00
2024-02-11 18:53:00 +01:00