C++ library says to delete data that it allocates

Charles Hixson charleshixsn at earthlink.net
Sun Sep 22 16:04:59 PDT 2013


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?

-- 
Charles Hixson



More information about the Digitalmars-d-learn mailing list