Placement new?

This is a discussion on Placement new? within the C++ Programming forums, part of the General Programming Boards category; OK, so next step is to use placement new. I'm not sure on how to use it. I've never done ...

Then how do I go about constructing the object once it's allocated?
Using templates to deduce the correct type and call the constructor is obviously out of question since that would generate a different new...

But how do I do it?
How do I fix the above code sample to work? How do I make new construct the object and call the constructor?
As I mentioned, I don't really know how placement new works. Never used it before.
If it's placement new or whatever else method, I care not, but somehow the constructor must be called so that objects are properly constructed. Simply allocating memory won't do.

On a side note, there is only one delete, one that calls the destructor and frees the memory?

Ah, books. Great learning resources they are... if you can find them somewhere locally, that is.
But yes, you're right of course... the compiler will call the constructor after the call to operator new.
Hmmm. It might just be possible to get this show on the road!

Thanks for the tip, but as CornedBee mentioned, the compiler will call the constructor/destructor for me, so I was wrong in that I needed to call placement new.
And I'm overriding global new and delete, as well, not inside a namespace.