2 ms·
> for an "out" parameter the compiler can use raw memory, instead of memory for which a constructor must have been invoked So let's say the parameter has a non
by microtherion 1y ago
> for an "out" parameter the compiler can use raw memory, instead of memory for which a constructor must have been invoked
So let's say the parameter has a nontrivial destructor. Caller A passes an uninitialized variable. Caller B passes an initialized variable. What is the callee supposed to do?