is there a way to get the identifier (call it name) of what is being passed to a function ?

someone someone at somewhere.com
Mon Jul 19 01:56:21 UTC 2021


On Monday, 19 July 2021 at 01:45:27 UTC, SealabJaster wrote:
> On Monday, 19 July 2021 at 01:26:25 UTC, someone wrote:
>> ...
>
> Not 100% sure this works in all cases, but this version doesn't 
> need the caller to make use of a mixin: 
> https://run.dlang.io/is/3jLxLz

http://dlang.org/traits.html ... huh, this is huge, I see *a lot* 
of useful things there :) !


More information about the Digitalmars-d-learn mailing list