Relative Aliases?

Jonathan Marler via Digitalmars-d digitalmars-d at puremagic.com
Sun May 28 08:44:54 PDT 2017


On Sunday, 28 May 2017 at 15:07:55 UTC, Timon Gehr wrote:
> On 28.05.2017 17:04, Jonathan Marler wrote:
>> Is there a way to get an alias to a symbol relative to the 
>> current location?  I'm looking for a general solution but I'll 
>> show an example to demonstrate one use case.
>> 
>> Say we want to access the alias to the current function 
>> symbol. ...
>
>
> __traits(parent,{})

THANK YOU!!


More information about the Digitalmars-d mailing list