On Fri, May 04, 2012 at 03:34:00PM +0200, Adam D. Ruppe wrote: > __traits(getMember, test.module, m); > > should work. Though you should probably test for non-data members before attempting to use getMember (try __traits(compiles, __traits(getMember, ...))). T -- Democracy: The triumph of popularity over principle. -- C.Bond