[Issue 4427] __traits should have isFunction, isVariable, etc

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 17 13:40:42 PST 2012


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #9 from Walter Bright <bugzilla at digitalmars.com> 2012-11-17 13:40:36 PST ---
> 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.

-- 
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