[Issue 4319] New: Constructor templates in struct/class templates documented as __ctor(T)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 15 05:28:05 PDT 2010


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 at puremagic.com
        ReportedBy: bugzilla at kyllingen.net


--- Comment #0 from Lars T. Kyllingstad <bugzilla at 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: -------


More information about the Digitalmars-d-bugs mailing list