[Issue 14867] DDoc: generate docs for alias this members by including the API of the member
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Aug 4 09:30:08 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14867
--- Comment #1 from ZombineDev <petar.p.kirov at gmail.com> ---
Example:
struct JsonValue
{
alias JSON = Algebraic!(
typeof(null),
bool,
double,
long,
BigInt,
string,
JSONValue[],
JSONValue[string]
);
JSON storage;
// Should work like ddoc-ed unittests:
///
alias storage this;
}
--
More information about the Digitalmars-d-bugs
mailing list