2 ms·
That's not allocating on the callers's stack though, that's just initialising there. The caller does the allocation. And Rust does RVO, in fact it's important
by masklinn 9y ago
That's not allocating on the callers's stack though, that's just initialising there. The caller does the allocation.
And Rust does RVO, in fact it's important for "placement new" structures until the dedicated syntax lands.