Re: Using traits to detect alias declaration

2012-09-09 Thread cal
On Monday, 10 September 2012 at 03:30:25 UTC, Jonathan M Davis wrote: On Monday, September 10, 2012 05:01:05 cal wrote: __traits(allMembers), I'd like to be able to detect if a given member is an alias (and get the member that is aliased). Is there a way to do this currently? No. As far as th

Re: Using traits to detect alias declaration

2012-09-09 Thread Jonathan M Davis
On Monday, September 10, 2012 05:01:05 cal wrote: > __traits(allMembers), I'd like to be able to detect if > a given member is an alias (and get the member that is aliased). > Is there a way to do this currently? No. As far as the compiler is concerned, there is no difference between an alias a

Using traits to detect alias declaration

2012-09-09 Thread cal
When using __traits(allMembers), I'd like to be able to detect if a given member is an alias (and get the member that is aliased). Is there a way to do this currently?