4 ms·
const doesn't make a difference in this case. It's about the passed-by-reference object being destroyed after the function returns. That is because the object w
by jstimpfle 4y ago
const doesn't make a difference in this case. It's about the passed-by-reference object being destroyed after the function returns. That is because the object was passed as a temporary.