mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-06 04:35:24 +00:00
Also add some tests to ensure that they _remain_ constexpr. In general, any runtime assertions, weirdo C casts, pointer aliasing, and such shenanigans should be gated behind the (helpfully newly added) AK::is_constant_evaluated() function when the intention is to write constexpr-capable code. a.k.a. deliver promises of constexpr-ness :P
7.7 KiB
7.7 KiB