Interface containing a delete function. Often combined with IVerifiable.
Function for deallocating memory. Should be called in destructor.
1 class A : IDisposable 2 { 3 ~this() 4 { 5 dispose(); 6 } 7 8 public void dispose() 9 { 10 // Delete Native Stuff 11 } 12 }
See Implementation
Interface containing a delete function. Often combined with IVerifiable.