digitalmars.D.bugs - [Issue 4319] New: Constructor templates in struct/class templates documented as __ctor(T)
- d-bugmail puremagic.com (30/30) Jun 15 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4319
- d-bugmail puremagic.com (12/12) Jan 12 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4319
- d-bugmail puremagic.com (18/18) Jun 05 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4319
- d-bugmail puremagic.com (26/26) May 30 2012 http://d.puremagic.com/issues/show_bug.cgi?id=4319
http://d.puremagic.com/issues/show_bug.cgi?id=4319 Summary: Constructor templates in struct/class templates documented as __ctor(T) Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Keywords: ddoc Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bugzilla kyllingen.net 05:28:04 PDT --- Created an attachment (id=662) Produced documentation Normally, constructors are documented as they are written, as this(...). In the following case, the constructor is documented as __ctor (see attached file). /// Example struct Bug4319(T) { /// Template constructor this(U)(U u) { } } Could be related to bug 4107. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 15 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4319 Jonathan M Davis <jmdavisProg gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmdavisProg gmx.com PST --- It's also worth noting that the template's constraints also end up in the html, which is not normal (though one could argue that having it in there would be useful). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 12 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4319 kennytm gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kennytm gmail.com It's not really due to bug 4107. Even in the following case the constructor is documented as 'auto __ctor' instead of 'this'. ----------------------------------- /// Example struct Bug4319b { /// Template constructor this(U)(U u) { } } ----------------------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 05 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4319 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED In 2.060head, template constructor is documented correctly. code: ---- /// Example struct Bug4319b { /// Template constructor this(U)(U u) { } } ---- output: ---- struct Bug4319b; Example this(U)(U u); Template constructor ---- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 30 2012