Will consteval allow using static_assert on function arguments?

Will consteval allow to use static_assert on function arguments? No. Function arguments have never been, and will continue to not be, usable as constant expressions. There is a difference between something being constant evaluated and being usable as a constant-expression. consteval ensures that we’re in a constant evaluation context, but it does not also cause … Read more