Partially initialized structs?
bkoie
blaa at some.com
Wed Feb 26 15:11:47 UTC 2025
On Wednesday, 26 February 2025 at 03:47:32 UTC, Arredondo wrote:
> Is it possible to declare a partially initialized struct?
>
> I would have thought that doing it like this would work:
>
> ```
> struct S {
> int[100] a = void;
> int b = 0;
> }
>
> ```
stuff like this is not even necessary if you dont need it now
dont delcare an easy workaround is use some copy dictionary.
More information about the Digitalmars-d-learn
mailing list