3 ms·
Of course it is not reserved for library writers - nothing is. But it is not a feature that application writers should worry about overmuch.
by zabzonk 10mo ago
Of course it is not reserved for library writers - nothing is. But it is not a feature that application writers should worry about overmuch.
- yosefk 10mo agostd::move is definitely for there for optimizing application code and is often used there. another silly thing you often see is people allocating something with a big sizeof on the stack and then std::moving it to the heap, as if it saves the copying
- zabzonk 10mo ago> another silly thing you often see is people allocating something with a big sizeof on the stack and then std::moving it to the heap, as if it saves the copying never seen this - an example?