#include <scope.hpp>
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.