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

Simen Kjærås simen.kjaras at gmail.com
Wed Dec 12 08:36:00 UTC 2018


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


More information about the Digitalmars-d-learn mailing list