[Issue 273] New: DDoc generates no documentation for short-hand function template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 1 00:33:25 PDT 2006


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

           Summary: DDoc generates no documentation for short-hand function
                    template
           Product: D
           Version: 0.163
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: ddoc
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: oskar.linde at gmail.com


DDoc doesn't generate documentation for template functions defined using the
short hand notation. 

An unrelated bug is the struct template parameter missing from DDoc output.

/// Template Documentation (OK)
template Template(T) { }

/// Function Documentation (Not included at all by DDoc)
void Function(T)(T x) { }

/// Class Documentation (OK)
class Class(T) { }

/// Struct Documentation (Template parameter missing from doc)
struct Struct(T) { }


-- 




More information about the Digitalmars-d-bugs mailing list