Multiple Alias this declarations?

Steven Schveighoffer schveiguy at
Thu Jun 24 06:09:23 PDT 2010

On Wed, 23 Jun 2010 19:20:00 -0400, JRM <a at> wrote:

> On page 231, TDPL states that a class can introduce any number of alias
> this declarations.
> states that there
> is only one allowed per class.
> A quick test shows that dmd agrees with the latter.
> Which one is right?

The book is right.  It has to be, you can't change the book, but you can  
change dmd ;)

But seriously, there are a number of features that are mentioned in TDPL  
that are not properly implemented in dmd.  inout comes to mind...


More information about the Digitalmars-d-learn mailing list