www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: oskar.linde 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) { }


-- 
Aug 01 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=273


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla digitalmars.com  2006-08-11 19:17 -------
Fixed DMD 0.164


-- 
Aug 11 2006