ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
List of all members
ScopeResource Struct Reference

#include <scope.hpp>

Class Description


This class acts as a simple virtual container to store custom resources in Scope objects.

To do so, custom derived types would simply add a custom member object together with a virtual destructor that assures that the member object(s) get rightfully deleted.

Instances of this type allocated with operator new, may be stored in class Scope in containers accessible with fields Resources and NamedResources. All objects in these fields will be deleted with method Scope::Reset.

Definition at line 40 of file scope.hpp.


The documentation for this struct was generated from the following file: