-
Notifications
You must be signed in to change notification settings - Fork 101
Request: Compile Time failure instead of Runtime failure #33
Open
Labels
Description
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
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.