Questions tagged [placement-new]

In C++ placement new is used to construct an object at a particular memory location or to pass additional arguments to an allocation function.

391 questions
-3
votes
1 answer

internal working of placement new?

In one interview I was asked that Suppose you have 25 MB of memory and you have three processes of 10 MB each. How to assure that your process should not run out of memory ? I replied that if I use placement new it will survive. They asked me how…
user2845185
  • 79
  • 1
  • 1
  • 8
1 2 3
26
27