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_read" method. This only works if the resource has a method
Definition at line 156 of file auto_release.h.
Public Member Functions
|NORET||auto_release_r_t (T &t)|