class destruction

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 9 01:31:10 PDT 2015


On Wednesday, 9 September 2015 at 07:19:58 UTC, Q wrote:
> Besides, we live in 2015 and that is not C where I have to 
> clean my code manually, so this option would be ridiculous :D

The difference is that in C you need to manage POD memory too. 
Manual management of non-POD resources is a problem of a smaller 
size, and you can use RAII too.


More information about the Digitalmars-d-learn mailing list