C++ Language/Objects/Constructors/PlacementNew
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;
.
Additional information about placement new
Category:Book:C++ Language#Objects/Constructors/PlacementNew%20