On 4 May 2012 17:01, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
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, ...))).

But... I'm trying to get non-data members. I need to match declarations...