Comment Comment by sigwinch28 A writable file closing itself when it goes out of scope is usually not great, since errors can occur when closing the file, especially when using networked file systems.https://github.com/isocpp/CppCoreGuidelines/issues/2203 parent sigwinch28 10 months ago
https://github.com/isocpp/CppCoreGuidelines/issues/2203