sparrow 1.0.0
|
Workaround to replace static_assert(false) in template code. More...
#include <mp_utils.hpp>
Workaround to replace static_assert(false) in template code.
This utility provides a way to trigger compilation errors in template contexts where static_assert(false) would cause immediate compilation failure even in non-instantiated branches.
Reference: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2593r1.html
T | Pack of types (unused but makes the false condition dependent) |
Definition at line 53 of file mp_utils.hpp.