Why is List(T) documented in std.concurrency?

Jonathan M Davis jmdavisProg at gmx.com
Wed Apr 25 12:55:26 PDT 2012


On Wednesday, April 25, 2012 21:00:33 Alex Rønne Petersen wrote:
> Hi,
> 
> http://dlang.org/phobos/std_concurrency.html
> 
> Why does List(T) appear? Isn't it private?

It's probably due to http://d.puremagic.com/issues/show_bug.cgi?id=2775

However, to make things weirder, it _doesn't_ have ddoc on it. It's

 /*
 *
 */
 struct List(T)

Since there's only one *, it shouldn't show up in the docs, even if it's 
public. So, there may actually be another bug relating to nested structs and 
ddoc which combines with 2775 to make List appear in the docs.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list