[Issue 1012] cannot instantiate template with no or default arguments without !()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 29 02:04:24 PDT 2009


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement




--- Comment #3 from Stewart Gordon <smjg at iname.com>  2009-06-29 02:04:23 PDT ---
AIUI this isn't supposed to work.  If we allowed such implicit template
instantiation everywhere, it would create ambiguities (alias declarations come
to mind).  That's why, at the moment, it's explicitly allowed in some contexts
where it's unambiguous, such as IFTI and (to some degree) mixins.

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