April 02, 2005 custom deallocators aren't called | ||||
---|---|---|---|---|
| ||||
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 # class MyClass{ # delete(void* p){ # assert(0); # } # } # # int main(){ # MyClass o = new MyClass(); # return 0; # } Added to DStress as http://dstress.kuehne.cn/norun/delete_03.d http://dstress.kuehne.cn/norun/delete_04.d http://dstress.kuehne.cn/norun/delete_05.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCTnpR3w+/yD4P9tIRAu5HAJ96BV5eVbznXijftL03PutvCrz7fACdF3r8 NK+dMoKQ+KCnb/fLn2CplD4= =UPsT -----END PGP SIGNATURE----- |
Copyright © 1999-2021 by the D Language Foundation