[Issue 3467] Non-int integral template parameters not correctly propagated

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 19 23:27:09 PST 2011


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla at digitalmars.com
         Resolution|                            |INVALID


--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2011-11-19 23:26:17 PST ---
I believe this is not a bug. The type of a template is based on what its
argument types are, not its parameter types. Hence,

  foo!3

is always a different type from:

  foo!3u

even if foo is defined to take an int parameter.

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