ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
ScopeResource Struct Reference

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 ensures that the member object(s) get rightfully deleted.

Instances of this type have to be created using the scope's allocator and are to be stored in in container Scope::NamedResources.

Definition at line 32 of file scope.hpp.

#include <scope.hpp>

Public Method Index:

virtual ~ScopeResource ()
 The virtual destructor needed for virtual types.
 

Constructor(s) / Destructor Details:

◆ ~ScopeResource()

virtual ~ScopeResource ( )
inlinevirtual

The virtual destructor needed for virtual types.

Definition at line 35 of file scope.hpp.


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