The compiler allows attributes in places where they don't have any effect. This is unfortunate, because it is confusing. Hopefully they will eventually be disallowed, like some of them already have.
The online documentation is not complete. If you're serious about learning D, you might want to buy the book "The D Programming Language" by Andrei Alexandrescu. It was released just a month ago. It covers some things that the online documentation doesn't. And vice versa.
You can find a lot of answers by searching the D newsgroup archives, or by asking in the newsgroup, searching the digitalmars site, the D wiki, etc. The docs themselves probably won't be updated for years, though.
torhu
2010-07-20 21:59:54