subtlety or bug?

Carl Sturtivant via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 10 10:29:33 PDT 2017


Aha, https://dlang.org/spec/struct.html#struct-destructor says 
that

An identity assignment overload is required for a struct if one 
or more of these conditions hold:

     * it has a destructor

so this is the above condition coming into play.




More information about the Digitalmars-d-learn mailing list