Should alias expand visibility?

Tomek Sowiński just at ask.me
Tue Jul 27 11:42:12 PDT 2010


Steven Schveighoffer wrote:

> I think the better argument is that it serves
> no purpose to have a private alias to a public function.  You can just as
> easily call the public function.

private alias ClassFromModuleBeyondReach.awkwardStaticName awkwardHelper;

Aliases *less* visible than the aliased symbol are useful and pose no 
trouble.


Tomek


More information about the Digitalmars-d mailing list