template case3(fun...)
{
/++ Blah
Params:
r = an value
+/
void case3(R)(R r){}
}
No doc is emitted for case3. Adding a DDoc comment on the template will cause the nested doc from being emitted.
Comment #1 by john.michael.hall — 2017-11-30T17:00:43Z
I have a related issue with the code below. When I compile this, I get the first one, but not the second one. Further, the top line foo(f...) does not show up, only T foo(f...)(T x).
/++
Some foo template
+/
template foo(f...)
{
/++
Foo here
+/
T foo(T x)
{
return f(x) + 1;
}
/++
Alternate Foo here
+/
T foo(T x, T y)
{
return f(x, y) + 1;
}
}
Comment #2 by robert.schadek — 2024-12-13T18:45:52Z