digitalmars.D.learn - Multiple Alias this declarations?
- JRM (6/6) Jun 23 2010 On page 231, TDPL states that a class can introduce any number of alias
- Steven Schveighoffer (6/12) Jun 24 2010 The book is right. It has to be, you can't change the book, but you can...
- JRM (3/10) Jun 24 2010 Thanks, I guess I'll just have to add that to the list of features I'm
On page 231, TDPL states that a class can introduce any number of alias this declarations. http://www.digitalmars.com/d/2.0/class.html#AliasThis states that there is only one allowed per class. A quick test shows that dmd agrees with the latter. Which one is right?
Jun 23 2010
On Wed, 23 Jun 2010 19:20:00 -0400, JRM <a b.com> wrote:On page 231, TDPL states that a class can introduce any number of alias this declarations. http://www.digitalmars.com/d/2.0/class.html#AliasThis 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... -Steve
Jun 24 2010
On Thu, 24 Jun 2010 09:09:23 -0400, Steven Schveighoffer wrote: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... -SteveThanks, I guess I'll just have to add that to the list of features I'm waiting for.
Jun 24 2010