snitch-org / snitch

Lightweight C++20 testing framework.
Boost Software License 1.0
267 stars 10 forks source link

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

Closed cschreib closed 1 year ago

cschreib commented 1 year ago

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