snitch-org / snitch

Lightweight C++20 testing framework.
Boost Software License 1.0
252 stars 7 forks source link

`CONSTEVAL_*` checks for non-decomposable expressions are not evaluated at compile time #145

Closed cschreib closed 8 months ago

cschreib commented 8 months ago

The const here should have been constexpr: https://github.com/snitch-org/snitch/blob/770286ea67a739fe07235b15a973dddbb6f4ea4f/include/snitch/snitch_macros_consteval.hpp#L22