Feature Enhancement: Protection attributes should work the same in all entities.

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Mar 14 17:02:17 PST 2006


"Bruno Medeiros" <daiphoenixNO at SPAMlycos.com> wrote in message 
news:dv7816$q0b$3 at digitaldaemon.com...
> Feature Enhancement: Protection attributes should work the same in all 
> entities, not just functions and variables.
>
> Currently the D spec (http://www.digitalmars.com/d/attribute.html) states 
> implicitly that protection attributes apply only to members (of classes 
> and modules), with members being functions and variables. I propose that 
> the protection attributes work orthogonally for all entities, meaning they 
> should also apply to declarative entities like classes and structs. (this 
> is done in C# and Java)

Vote! 





More information about the Digitalmars-d mailing list