diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-09-14 22:35:28 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-13 22:41:06 +0100 |
commit | 28d74542ba2f5073641e834c1ebb3eb937f2adcb (patch) | |
tree | ee8ff8463d8458119c2762b34d9907f486b4ab3a /src/menu/timer.cpp | |
parent | 8ec46846f6af0da23a1a42f345e40f517ba8f005 (diff) | |
download | usdx-28d74542ba2f5073641e834c1ebb3eb937f2adcb.tar.gz usdx-28d74542ba2f5073641e834c1ebb3eb937f2adcb.tar.xz usdx-28d74542ba2f5073641e834c1ebb3eb937f2adcb.zip |
utils: add disposer helper
The disposer helper should be used to encapsulate disposable
objects. This objects have to cleanup something before deconstruction
and so you need to help dispose before destruction of the object. The
disposer takes care for you. On destruction of the disposer, it calls
dispose of the encapsulated object and then destroy it, too. So you do
not need to remember to call dispose manually.
Diffstat (limited to 'src/menu/timer.cpp')
0 files changed, 0 insertions, 0 deletions