[Issue 7657] ReturnType fails for simple templated functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 6 17:58:07 PST 2012


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


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-03-06 17:58:09 PST ---
Except that if a template hasn't been initialized, it doesn't even really
_exist_ as far as the compiler is concerned. It's a template for something, not
an actual function or type.

So, while I can see why you'd want this, I just don't see how it could be done
with how templates are implemented.

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