On Tue, 14 Dec 2010 15:18:32 -0500, Craig Black <craigbla...@cox.net> wrote:

I know emplace is used to do placement new. What is the equivalent placement delete?

x = emplace(yourAllocationFunction!T());

...

clear(x);
yourDeallocationFunction(x); // if necessary. For instance, stack data doesn't need to be deallocated

-Steve

Reply via email to