Use `static_assert` instead of `#error` to report an API mismatch, resulting in a much more informative error message. Thanks to @cdisselkoen for the request, and @noseglasses for the `static_assert` idea! Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/270/head
parent
5a1b453b36
commit
78cc8064c5
Loading…
Reference in new issue