June 10, 2004 dmd compiles multiple destructors | ||||
---|---|---|---|---|
| ||||
The following code is excepted by dmd without any warning/error. Naturaly gcc rejects the code: class DestBug{ ~this(){printf("a\n");} ~this(){printf("b\n");} } |
Copyright © 1999-2021 by the D Language Foundation