Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 15, 2010 [Issue 4319] New: Constructor templates in struct/class templates documented as __ctor(T) | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2010-06-15 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: ------- |
January 12, 2011 [Issue 4319] Constructor templates in struct/class templates documented as __ctor(T) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars T. Kyllingstad | http://d.puremagic.com/issues/show_bug.cgi?id=4319 Jonathan M Davis <jmdavisProg@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmdavisProg@gmx.com --- Comment #1 from Jonathan M Davis <jmdavisProg@gmx.com> 2011-01-12 00:06:59 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: ------- |
June 05, 2011 [Issue 4319] Constructor templates in struct/class templates documented as __ctor(T) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars T. Kyllingstad | http://d.puremagic.com/issues/show_bug.cgi?id=4319 kennytm@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kennytm@gmail.com --- Comment #2 from kennytm@gmail.com 2011-06-05 00:43:09 PDT --- 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: ------- |
May 31, 2012 [Issue 4319] Constructor templates in struct/class templates documented as __ctor(T) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars T. Kyllingstad | 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 --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2012-05-30 17:56:28 PDT --- 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: ------- |
Copyright © 1999-2021 by the D Language Foundation