D-Programming-Language/d-programming-language.org — pull request #48 by JakobOvrum (2011-12-18 05:53:05+00:00)
Title: Various traits.dd fixes

* Replaced `writefln` with `writeln`, as that kind of `writefln` usage no longer compiles.
* DMD uses `__ctor` and `__dtor` for the *allMembers* and *hasMember* traits, not `_ctor` and `_dtor`, as the documentation claims and implies.
* `__traits` returns tuples, not arrays.
* Updated some examples still relying on `__traits` returning arrays.

There are a couple of $(V1 ...) tags in there, but there is no concerted effort to remain compatible with older versions. I suggest they just be removed as they cause nothing but confusion.