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.


  • subtlety or bug? Carl Sturtivant via Digitalmars-d-learn
    • Re: subtlety or bug? Carl Sturtivant via Digitalmars-d-learn

Reply via email to