Hacker News new | ask | show | jobs
by microtherion 389 days 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?