Relative Aliases?

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Sun May 28 08:07:55 PDT 2017


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,{})


More information about the Digitalmars-d mailing list