Error in "Template Alias Parameter" example in the documentation

Jesse Phillips jessekphillips+D at gmail.com
Thu Mar 17 12:34:00 PDT 2011


simendsjo Wrote:

> Are these pages written using DDoc? Is it possible to extract and compile the examples to
> ensure they are correct? And perhaps use asserts instead of/in addition to comments where
> possible (Asserts are used many places already)?
> Executable and verifiable examples could be a useful feature as plain text documentation and
> examples have a tendency to rot.

There has been talk about getting Examples compiled as part of unit tests. Agreement on how to do that was not reached (Sometimes examples require a lot of setup code).

This example is probably old and in need of updating, file a bug report.


More information about the Digitalmars-d-learn mailing list