What is a placement syntax “new” (“placement new”) and why is it needed?
1
Expert's answer
2010-07-28T11:05:24-0400
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.
Comments
Leave a comment