2 ms·
> I still have doubts if it is worth it. It is definately worth it to have such ownership. This style was discovered in C++ and made better in Rust. A leaner
by p0nce 10y ago
> I still have doubts if it is worth it.
It is definately worth it to have such ownership. This style was discovered in C++ and made better in Rust.
A leaner version of this is the C++11 version, which has std::unique_ptr and raw pointers. Very popular in today's C++.