July 31, 2004 multiple this() in a class | ||||
---|---|---|---|---|
| ||||
The compiler accepts the following code: class DoubleThis{ this(){} this(){} } This happens even if the body of the 2 functions differ. Thomas |
Copyright © 1999-2021 by the D Language Foundation
July 31, 2004 multiple this() in a class | ||||
---|---|---|---|---|
| ||||
The compiler accepts the following code: class DoubleThis{ this(){} this(){} } This happens even if the body of the 2 functions differ. Thomas |