Odin
Odin copied to clipboard
[FEATURE REQUEST] intrinsics.type_struct_has_padding :: proc($T: typeid) -> bool where type_is_struct(T) ---
Would be nice to use this in a compile time assertion, to prevent shooting yourself in the foot when dealing with explicit sizing of structs