[Issue 14652] New: Ddoc generates wrong documentation for parameterized alias definition
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 4 18:31:31 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14652
Issue ID: 14652
Summary: Ddoc generates wrong documentation for parameterized
alias definition
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: andrei at erdani.com
/**
xyz
*/
alias StackFront(size_t stackSize, Allocator) =
FallbackAllocator!(
InSituRegion!(stackSize, Allocator.alignment,
hasMember!(Allocator, "deallocate")
? Yes.defineDeallocate
: No.defineDeallocate),
Allocator);
The documentation entry lists this as the declaration:
template StackFront(size_t stackSize, Allocator)
which is not adequate.
--
More information about the Digitalmars-d-bugs
mailing list