What is a placement syntax “new” (“placement new”) and why is it needed?
With this tool you can explicitly specify the operator new where in memory you want to place the object. Moreover, you will have to call its destructor by your own. This is the only case when you have to call the destructor manually.
Leave a comment