type
EmptyRec = record
end;
sizeOf(EmptyRec) = 1; // why? (Island Windows, .NET)
You can’t have an empty record in elements so we add a dummy field. Byte sized.
we add a dummy field. Byte sized.
That seems needlessly inefficient. Couldn’t you make it a dummy bit instead ?
</joke>
2 Likes