Hacker News new | ask | show | jobs
by mxmlnkn 1037 days ago
Ah thanks, I was not aware that these compile-time checks are only done when it is evaluated in a compile-time evaluating context.

To add to your list, using C++20 consteval instead of constexpr also triggers the error.