4 ms·
The compiler is free to optimize this how it sees fit. Taking the address of a value doesn't necessarily move it to the heap.
by enneff 15y ago
The compiler is free to optimize this how it sees fit. Taking the address of a value doesn't necessarily move it to the heap.