BCAux::BCTrash< T > Class Template Reference
A trash to keep heap-allocated objects of type T alive until the trash goes out of scope. More...
#include <BCAux.h>
Public Member Functions | |
BCTrash (const BCTrash< T > &) | |
BCTrash< T > & | operator= (const BCTrash< T > &) |
void | Put (T *object) |
Detailed Description
template<typename T>
class BCAux::BCTrash< T >
A trash to keep heap-allocated objects of type T alive until the trash goes out of scope.
Then they are deleted. Ownership is not transferred in copies, only during a swap.
The documentation for this class was generated from the following file:
- /root/bat/BAT/BCAux.h