On Sunday, 22 September 2013 at 23:09:52 UTC, Charles Hixson
wrote:
I'm trying to use a C++ library that allocates data and returns a pointer to it. It tells me that I should delete the data when I'm through with it.

Can I do this from within D? Or do I need to write some C++ code to manage the delete, and pass the pointer on to it?

You can't use delete straight from D, so I'd write the delete in
C++ and pass the pointer back to C++, like you say.

Reply via email to