Proctor that destroys the current thread's attribute context on destruction.
Synopsis
Declared in <ball_attributecontext.h>
class AttributeContextProctor;
Description
This class implements a proctor that, on its own destruction, will destroy the attribute context of the current thread. Attribute contexts are stored in thread‐local memory. On destruction, objects of this type will deallocate the current thread's attribute context (if one has been created), and set the thread‐local storage pointer to 0.
Member Functions
Name |
Description |
|
Create an |
|
Destroy this object (as well as the current attribute context). |
Created with MrDocs