How to get the name of member function through an alias of that function

Peter Particle ParticlePeter at gmx.de
Wed Dec 12 08:53:44 UTC 2018


On Wednesday, 12 December 2018 at 08:36:00 UTC, Simen Kjærås 
wrote:
> On Wednesday, 12 December 2018 at 08:16:03 UTC, Peter Particle 
> wrote:
>> I prefer that all the members marked with myUDA are process in 
>> the order thy appear in Foo. This happens automatically when I 
>> iterate with through 'getMemberByUDA'.
>
> Just replace fullyQualifiedName!member with 
> __traits(identifier, member), and things should work.
>
> --
>   Simen

How could I have missed that one! THX!


More information about the Digitalmars-d-learn mailing list