summaryrefslogtreecommitdiff
path: root/src/buffer_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-06-28 13:42:55 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-06-28 13:42:55 +0200
commit1289268174a4a5aec2090a86de5c0c0ddc6d40ee (patch)
tree3bc056420d75afa90d171b3e53a82fc21a3f2a9d /src/buffer_manager.cc
parente7e9b8a6cd0657380e3fc7612467b690d52b5692 (diff)
Add SafeCountable and safe_ptr classes
safe_ptr is a smart pointer which manage a safe count in pointed objects. SafeCountable provides the interface needed for safe_ptr and assert the safe count is zero in destructor. This permits to have pointers that guarantees their pointed object is alive.
Diffstat (limited to 'src/buffer_manager.cc')
0 files changed, 0 insertions, 0 deletions