Bug 273 – DDoc generates no documentation for short-hand function template
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-08-01T02:33:00Z
Last change time
2014-02-15T13:20:08Z
Keywords
ddoc
Assigned to
bugzilla
Creator
oskar.linde
Comments
Comment #0 by oskar.linde — 2006-08-01T02:33:19Z
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) { }