Why do private member variables behaved like protected in the same module when creating deriving class?

12345swordy alexanderheistermann at gmail.com
Thu Nov 1 18:45:05 UTC 2018


On Thursday, 1 November 2018 at 17:14:51 UTC, H. S. Teoh wrote:
> On Thu, Nov 01, 2018 at 04:58:07PM +0000, 12345swordy via 
> Digitalmars-d wrote:
>> [...]
> [...]
>
> Yes, and I'm glad I can (mostly) get away from Java in my 
> current Android project, thanks to cross-compiling with LDC. :-P
>
> [...]

I don't mind creating a tool to automatically copy past code in 
it's own module. Though I rather use attributes and create 
compile time instructions for it, but that is venturing into 
macro territory and we all know how difficult that is to persuade 
the two into accepting it.


More information about the Digitalmars-d mailing list