[Issue 12356] std.traits.isTypeTuple returns false for any TypeTuple that contains a value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 13 05:48:48 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12356


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com
          Component|DMD                         |Phobos


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-03-13 05:48:39 PDT ---
This is a naming and documentation issue. std.typecons.TypeTuple is really a
way to construct a tuple of types, values, symbols, expressions, etc. That's
the naming issue, we are aware of this.

isTypeTuple returns true if such a tuple contains types only. There's a similar
trait 'isExpressionTuple'. Both of these are not as documented as they should
be, and are missing examples.

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


More information about the Digitalmars-d-bugs mailing list