Issue with 2.071: Regression or valid error?

Craig Dillabaugh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 6 12:03:11 PDT 2016


On Wednesday, 6 April 2016 at 19:01:58 UTC, Craig Dillabaugh 
wrote:
> On Wednesday, 6 April 2016 at 15:10:45 UTC, Andre wrote:
clip
>
> Not so up to date on D's OOP stuff, but don't you want create() 
> to be protected, not private.  You can typically access a 
> private method through a base class, which is what you are 
> doing with cat.create().

You CAN'T typically access a private ...


More information about the Digitalmars-d-learn mailing list