[Issue 7360] New: Predicate templates in std.traits should consider	alias this
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Jan 24 06:27:50 PST 2012
    
    
  
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 at puremagic.com
        ReportedBy: k.hara.pg at gmail.com
--- Comment #0 from Kenji Hara <k.hara.pg at 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: -------
    
    
More information about the Digitalmars-d-bugs
mailing list