3 ms·
That mechanism exists: inline asm. As for your example, unsigned overflow is already defined in C and C++ and you can force the compiler error for non-32-bits
by account42 4y ago
That mechanism exists: inline asm.
As for your example, unsigned overflow is already defined in C and C++ and you can force the compiler error for non-32-bits using a static_assert.