Call destructor before memory is freed.

Ty Overby ty at pre-alpha.com
Mon Feb 10 14:02:19 PST 2014


I'm writing a freelist for storing structs in which memory is 
kept around after it is explicitly "freed" by the client.  I'm 
using std.conv.emplace with manual memory management, but I need 
to call the destructor on the memory right when the caller tries 
to free.


More information about the Digitalmars-d-learn mailing list