Skip to content
UPEEC

Placement new

Construct an object in memory you already have: `new (buffer) T(args)`.

Advanced
Comments 0

Used in memory pools, embedded systems and containers. You must call the destructor manually.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.