-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Environment:All
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The RAII C++ idiom relies on the dtor cleaning up resources for me. This is what is implied by "Scoped"
So why it is that I need to call done() else I get some warning? ScopedDbConnection::~ScopedDbConnection should call done() for me. And If I decide to call done() myself, then ~ScopedDbConnection is a no-op