[Issue 13272] New: [ddoc] Should merge docs for eponymous template with single public member
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 9 07:41:14 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13272
Issue ID: 13272
Summary: [ddoc] Should merge docs for eponymous template with
single public member
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: hsteoh at quickfur.ath.cx
The example is from std.parallelism:
------
/**
...
*/
final class TaskPool
{
///
template amap(functions...)
{
/**
...
*/
auto amap(Args...)(Args args)
if (...)
{
}
}
}
------
Currently, ddoc will output template amap(functions...) as a separate outer
layer, followed by the docs for amap(Args...)(Args args). It should merge the
two together since this is an eponymous template.
--
More information about the Digitalmars-d-bugs
mailing list