6 ms·
Most often the least clever thing is the most clever thing. The best optimization is the one that is not needed at all. An `std::unique_ptr<>` member is not ju
by ncmncm 6y ago
Most often the least clever thing is the most clever thing. The best optimization is the one that is not needed at all.
An `std::unique_ptr<>` member is not just safer, it is also faster if it enables the compiler to generate its own various constructors and destructors.