digitalmars.D.bugs - [Issue 7360] New: Predicate templates in std.traits should consider alias this
- d-bugmail puremagic.com (39/39) Jan 24 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7360
- d-bugmail puremagic.com (12/12) Jun 14 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7360
http://d.puremagic.com/issues/show_bug.cgi?id=7360 Summary: Predicate templates in std.traits should consider alias this Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com --- Comment #0 from Kenji Hara <k.hara.pg gmail.com> 2012-01-24 06:27:49 PST --- Some predicate templates in std.traits does not consider alias this type. isIntegral isFloatingPoint isNumeric = isIntegral!T || isFloatingPoint!T isUnsigned isSigned isSomeChar isAssociativeArray isDelegate isSomeFunction when T is delegate But others consider it. isSomeString isNarrowString isStaticArray isDynamicArray isArray = isStaticArray!T || isDynamicArray!T isPointer isIterable isFunctionPointer isSomeFunction when T is function pointer I think all of them should consider alias this, because alias this type is just a proper super-type. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 24 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7360 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2012-06-14 02:24:02 PDT --- This issue has been fixed by the pull: https://github.com/D-Programming-Language/phobos/pull/488 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 14 2012