www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Aliases

if m is a string obtained from __traits(allMembers,...)
I can detect if a symbol is an alias by m != 
__traits(getMember,...,m).stringof .it follows that I can use 
another (m2; __traits(allMembers,...)) loop to check is 
(__traits(getMember,m2) ==__traits(getMember,...,m)) && m != 
__traits(getMember,...,m).stringof I can find aliases of m. is 
there any way to do this without massively increasing compile 
time?
Mar 04 2016