allMembers

Manu turkeyman at gmail.com
Fri May 4 07:01:35 PDT 2012


On 4 May 2012 16:34, Adam D. Ruppe <destructionator at gmail.com> 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 );
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120504/f0d634a8/attachment.html>


More information about the Digitalmars-d mailing list