digitalmars.D.bugs - [Issue 9460] New: stringof on templated classes fails to list the template arguments of the type
- d-bugmail puremagic.com (30/30) Feb 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9460
- d-bugmail puremagic.com (11/11) Feb 08 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9460
http://d.puremagic.com/issues/show_bug.cgi?id=9460 Summary: stringof on templated classes fails to list the template arguments of the type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: jmdavisProg gmx.com PST --- This code class C(T) {} struct S(T) {} pragma(msg, (C!int).stringof); pragma(msg, (S!int).stringof); void main() {} prints out C S!(int) Notice that for the struct, the template arguments are printed, but for some reason, for the class, all you get is the template name and not its arguments. It's listed as if it weren't a templated type, which is both inconsistent and not particularly useful. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9460 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com 11:26:10 PST --- [internal note]: This is closely related to Issue 3796, see Walter's comment here: http://d.puremagic.com/issues/show_bug.cgi?id=3796#c2 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 08 2013