d2d.core.idisposable



interface IDisposable;
Interface containing a delete function. Often combined with IVerifiable.

Examples:
class A : IDisposable
{
    ~this()
    {
        dispose();
    }

    public void dispose()
    {
        // Delete Native Stuff
    }
}


abstract void dispose();
Function for deallocating memory. Should be called in destructor.


Page generated by Ddoc.