On 4 May 2012 16:34, Adam D. Ruppe <[email protected]> wrote:
> __traits(getMember, test.module, m);
>
> should work.
>
Tried that:
static if( is( __traits( getMember, mixin( moduleName ), m ) == interface )
)
{
pragma( msg, "Is an interface: " ~ m );
}
