Partially initialized structs?
bkoie
blaa at some.com
Wed Feb 26 19:34:24 UTC 2025
On Wednesday, 26 February 2025 at 16:38:20 UTC, Salih Dincer
wrote:
> My_Static_Struct!ubyte(41, [0, 0, 0, 0, 0, 0, 0, 0])
> My_Static_Struct!ubyte(42, [0, 0, 0, 0, 0, 0, 0, 0])
> My_Dynamic_Struct!ubyte(41, [16, 32, 216, 47])
> My_Dynamic_Struct!ubyte(42, [32, 32, 216, 47, 100, 127, 0, 0])
> */
> ```
code doing a bunch of undefined runtime magic
if you think this is valid then you will enjoy c++.
More information about the Digitalmars-d-learn
mailing list