aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/gl_delayed_allocation.cpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-09-14 22:35:28 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:41:06 +0100
commit28d74542ba2f5073641e834c1ebb3eb937f2adcb (patch)
treeee8ff8463d8458119c2762b34d9907f486b4ab3a /src/menu/gl_delayed_allocation.cpp
parent8ec46846f6af0da23a1a42f345e40f517ba8f005 (diff)
downloadusdx-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 '')
0 files changed, 0 insertions, 0 deletions