3 ms·
You can accomplish the same thing in C with some macros: https://stackoverflow.com/a/376478/189247 https://stackoverflow.com/a/376478/189247 But honestly, it is
by bjourne 2y ago
You can accomplish the same thing in C with some macros: https://stackoverflow.com/a/376478/189247 https://stackoverflow.com/a/376478/189247 But honestly, it is not worth the bother. You just end up with lots of (my_index_type_is_different_from_yours_t) casts littered in your code.