Answer to Question #515 in C++ for Kyle

Question #515
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.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS