magically a static member on init?
Martin
martin.brzenska at googlemail.com
Sat Nov 14 23:20:55 UTC 2020
Hi, i do no know if this is intended - but imo this is weird:
https://run.dlang.io/is/eBje3A
I expected that `c.a.str == ""` (just like `c.str` is). But
instead `c.a.str` keeps the value of `b.a.str`.
Is this intentional? IMO this feels not consistent and its weird
when a reference leaks into another instance without having
declared it static member.
Greetigs
More information about the Digitalmars-d-learn
mailing list