[Issue 4427] __traits should have isFunction, isVariable, etc
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 24 14:49:07 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4427
Manu <turkeyman at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |turkeyman at gmail.com
--- Comment #10 from Manu <turkeyman at gmail.com> 2012-11-24 14:49:05 PST ---
(In reply to comment #9)
> > Many of these could easily be turned into templates
>
> The is ==struct and __traits are not really intended to be user-facing. They
> are intended to be embedded into templates which then can present a simple,
> straightforward user interface.
>
> Sometimes those templates do need to work hard internally to get the
> information, but being able to is all that's relevant.
Well with this in mind, perhaps we can complete the suite of std.traits? There
are a lot missing. I'd certainly like to clean up that aspect of my code before
I depart, as it's the most confusing and unreadable section by far.
Particularly for new-comers who haven't taken the time to wrangle those sorts
of problems yet (who I will be leaving it to) :/
--
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