C++ Language/Objects/Constructors/PlacementNew
Appearance
C++'s new
operator allocates memory, and then executes some constructor within that memory.
Low-level software might already have some memory pre-allocated for a new object, only wanting to run its constructor.
To do so, call a "placement new" as CRType* poVar = new (preallocation) CRType;
.