allMembers

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


On 4 May 2012 17:01, H. S. Teoh <hsteoh at 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...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120504/163f414f/attachment-0001.html>


More information about the Digitalmars-d mailing list