3 ms·
RAII can be used without constructors and without exceptions. The acronym is misleading.
by jfkebwjsbx 6y ago
RAII can be used without constructors and without exceptions. The acronym is misleading.
- defen 6y agoYes, but if you have a large existing codebase that throws exceptions from constructors you can't just use it unchanged.