2 ms·
You can use static asserts if you turn the constructor into a template and pass the initializer into a compile time parameter.
by WalterBright 5y ago
You can use static asserts if you turn the constructor into a template and pass the initializer into a compile time parameter.