MIPP
MIPP copied to clipboard
Request: Compile Time failure instead of Runtime failure
To make it easier to capture misconfiguration or lacking support of certain instrinsics, I would like to suggest the following change:
instead of throwing std::runtime_error when using unsupported intrinsics use static_assert
rough example: https://godbolt.org/z/W6GPdGEhc
possible downside: it is not possible to provide a custom error message as static_assert requires a string literal