Odin Programming Language
BSD 3-Clause "New" or "Revised" License
6.13k
stars
551
forks
source link
[FEATURE REQUEST] intrinsics.type_struct_has_padding :: proc($T: typeid) -> bool where type_is_struct(T) --- #3844
Closed
FourteenBrush closed 5 days ago
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