Search

April 10, 2006
General »
...dispose() method? Otherwise, said dtor would imply raii for the borrowed connection, which would be...
April 10, 2006
General »
...invocation via delete keyword
- explicit invocation via raii

dtor state 'unspecified':
- implicitly called when no...
April 10, 2006
General »
...ConnectionUsage wherever you need one. Both are RAII. ConnectionPool acts as a factory for ConnectionUsage...
April 09, 2006
General »
...of a dtor implies "auto" (and thus raii), how does one manage a "pool" of...
April 09, 2006
Learn »
...willing to settle for an easy solution, RAII via classes would work:

class HandleWrapper
{
    HANDLE...
April 06, 2006
General »
...cleanup needs to be done, making it RAII be definition, no? And any class containing...
April 06, 2006
General »
...are actually scoped on the stack (for RAII purposes), where the enclosing function doesn't...
April 06, 2006
General »
FWIW, I fully agree.

Yes, and thinking of a class that needs "destructing", which then...
April 06, 2006
General »
...is that this wouldn't make the RAII behaviour apparent to somebody reading the code...
April 06, 2006
General »
...the class RAII indicator?

Thus, any class with a dtor is automatically RAII. When the...
137 138 139 140 141 142 143 144 145 146 147
Next ›   Last »