[Issue 4639] Built-in primitive types cannot be used as template alias parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 13 04:10:06 PDT 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug at yahoo.com.au
         Resolution|                            |INVALID


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-08-13 04:10:04 PDT ---
This is not a bug. From the spec:
"Alias parameters enable templates to be parameterized with any type of D
symbol, including global names, local names, typedef names, module names,
template names, and template instance names. Literals can also be used as
arguments to alias parameters."

Built-in types are not on that list.

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