This template class is an analog of auto_ptr<T> from the C++ standard template library, but rather than freeing a heap object, it releases a lock (thread-synchronization primitive, not a database lock) by calling the lock's "release_write" method. This only works if the resource has a method
Definition at line 186 of file auto_release.h.
Public Member Functions
|NORET||auto_release_w_t (T &t)|