3 ms·
Parent's statement was that early returns are hard because you need to cleanup allocated resources. I don't think so, because there shouldn't (usually) be resou
by jstimpfle 9y ago
Parent's statement was that early returns are hard because you need to cleanup allocated resources. I don't think so, because there shouldn't (usually) be resources "on the stack".
- monocasa 9y agoBut RAII is orthogonal to auto, static, or dynamic allocation.