Re:Current hardware trends make C++ exceptions harder to jus...
by gpderetta on Wednesday February 23, 2022 @08:01AM
(#30440489)
FWIW, constructors do not "create" (I assume you mean allocate) memory. That's the job of operator new. A constructor, given a block of untyped memory, will construct an object in it.
I thought the constructor returned a pointer to the memory created.
No return? Stupid!