Inherit of attributes

Dicebot via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 25 02:10:09 PDT 2014


On Friday, 25 April 2014 at 09:08:50 UTC, Temtaime wrote:
> Hi, MrSmith !
>
> Yes, i know that, but my question isn't about it.
> I want to type `pure:` at module's beginning and have all 
> function(in classes, too) declared as pure.
>
> I think `pure:` should do it. But it doesn't.

pure is not a transitive attribute and when applied to aggregates 
gets ignored, not applied to all of their members


More information about the Digitalmars-d-learn mailing list