On Sunday, 1 May 2016 at 11:17:27 UTC, earthfront wrote:
Hello! [...] class A { int b; private this(int a){b=a;} } [...]
I don't think classes are supposed to be able to have a private constructor...
Lass Safin via Digitalmars-d-learn Sun, 01 May 2016 11:32:05 -0700
On Sunday, 1 May 2016 at 11:17:27 UTC, earthfront wrote:
Hello! [...] class A { int b; private this(int a){b=a;} } [...]
I don't think classes are supposed to be able to have a private constructor...