Any reason as to why this isn't allowed?

Lass Safin via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 2 06:02:18 PDT 2016


class C {
         ~this() {}
         immutable ~this() {}
}

This gives a conflict error between the two destructors.


More information about the Digitalmars-d mailing list