Sunday, January 22, 2006

placement syntax

While having a funning day with friends Szann suggested the following topic for today's C++ puzzle:

Explain the placement syntax of the operator new(). What are possible uses of it? How is the operator coded with this syntax? How is it called?

Also explain what must be considered when destroying objects that were created using the placement syntax.

No comments: