2 ms·
Because Rust knows about lifetimes and C++ doesn't. What C++ needs is a way to specialize types so that they automatically know if they need heap or stack stor
by zlynx 9y ago
Because Rust knows about lifetimes and C++ doesn't.
What C++ needs is a way to specialize types so that they automatically know if they need heap or stack storage without the programmer having to be explicit.