November 08, 2010 multiple alias this in class/struct not allowed? | ||||
---|---|---|---|---|
| ||||
Hello, Why are multiple alias this declarations in a class/struct not allowed? This page http://www.digitalmars.com/d/2.0/class.html#AliasThis says so, and also dmd2 gives me an error when I try to do it, but TDPL says something different (on page 231): "a class could introduce any number of alias this declarations, thus subtyping any number of types."). Did this feature change? Or is it a bug? adam. |
November 08, 2010 Re: multiple alias this in class/struct not allowed? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam Cigánek | Adam Cigánek:
> Why are multiple alias this declarations in a class/struct not allowed?
Feature not implemented yet :-) (It's not just a matter of implementation: I am not sure the design of the semantics of it is finished).
Bye,
bearophile
|
Copyright © 1999-2021 by the D Language Foundation