2 ms·
using/disposable?
by jmull 4y ago
using/disposable?
- deadbeeves 4y agousing and/or finally are things you have to get right every time you instantiate the class, and if you get it wrong you no longer get deterministic destruction. Compare with C++, where RAII is the default policy and you have to take extra steps to get dynamic lifetimes.