On Wednesday, 5 February 2014 at 19:09:57 UTC, Marco Leise wrote:
You could put in a function pointer to a deallocator (c-malloc, QT, GTK or some other library deallocator etc) and other kind of meta information that makes you able to treat reference counting in a uniform manner even for external resources.Now that sounds interesting.
It sounds to me like... a separate type. The deallocator is the destructor!
