In the book, it is often recommended not to use constructors for loading resources. However, the official C++ Guidelines enforce RAII:
github.com/isocpp/CppCoreGuide…CoreGuidelines.md#Rr-raii
Any reason why RAII is not a good idea?
github.com/isocpp/CppCoreGuide…CoreGuidelines.md#Rr-raii
Any reason why RAII is not a good idea?