Enumerated Unions (sum types)
Dukc
ajieskola at gmail.com
Thu Sep 12 10:36:46 UTC 2024
On Thursday, 12 September 2024 at 10:32:39 UTC, Dukc wrote:
> Well, `size_t` takes more space. Then again, if the tag
> property would be a getter as opposed to a direct field
> accessor the tag type wouldn't necessarily have to match with
> the real type of the tag field, in which case there's no
> difference.
Oops, let me take that a bit back. I also proposed what I did
because the default base type of an enumerated type is `int`, not
`size_t`.
More information about the dip.ideas
mailing list