Add an AutoObj container to auto-destroy resources
commit6f8346f6de07d3cb7ed01b4a1f1995fb83704e96
authorChris Robinson <chris.kcat@gmail.com>
Thu, 14 Dec 2017 19:52:45 +0000 (14 11:52 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 14 Dec 2017 19:52:45 +0000 (14 11:52 -0800)
tree8904e3160170feb9f8f257408dcf89953d279dd5
parent0ba77fdb4172aa405d023c65aea321ff57550617
Add an AutoObj container to auto-destroy resources

This provides optional RAII behavior for contexts and resource objects. This
notably does not apply to Buffers, which are kept cached in the context.
include/AL/alure2.h