3 ms·
Just using constructors/destructors and class encapsulation makes code so much more readable. And most exception problems are solved with RAII. If you're using
by dan00 16y ago
Just using constructors/destructors and class encapsulation
makes code so much more readable.
And most exception problems are solved with RAII. If you're using RAII, then you won't have memory leaks when exceptions arise.