Post #1538300
2026-04-22 20:34 UTC
@thephd@pony.social whats wrong with static_assert? Genuinely asking, I've not used it much.
Replies (1)
-
@thephd@pony.social 2026-04-22 20:36
@kabel42@polymaths.social I wasn't being specific; I need something I can call in a consteval function that will trigger an error, but only if the compiler tries to evaluate it. It seems the only function that does that is std::terminate().