[Issue 9065] Please consider adding these std.traits

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 26 08:24:04 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9065



--- Comment #15 from Manu <turkeyman at gmail.com> 2012-11-26 08:24:02 PST ---
(In reply to comment #13)
> Turns out this is still incomplete:
> 
> isEnum fails in some situations. Using 'compiles' like that is not reliable
> with various levels of aliases/templates.
> Also, that implementation of isVariable marks getter-properties as if they are
> variables, which they are not.
> 
> Back to the drawing board...

I've become convinced I also need to add
template isProperty(T) { ... }

I can't find any sensible way to do this, and I'm also blocked without it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list