The point of using placement syntax is to achieve custom allocation, so standard deallocation is usually required. Therefore, the action taken depends on the dispenser used.
It is your task to provide the correct address for posting a new one for work.
IN RESPECT TO RELATIONS TO COMMENTS: -
#include <new> // Must #include this to use "placement new"
#include "Fred.h"
void someCode()
{
char memory[sizeof(Fred)];
void* place = memory;
Fred* f = new(place) Fred();
...
}
. , , " ", , . , , . Fred 4- , , , .
, , , , , :)
, .