Added support for destructors! This is done by making a void, parameterless member method called destruct which is called when a stack object falls out of scope, if it exists. This is implemented by the generator, in this case CGenerator.
This commit is contained in:
1
tests/destructorTest.expected_results
Normal file
1
tests/destructorTest.expected_results
Normal file
@@ -0,0 +1 @@
|
||||
Hello Destructors!
|
||||
Reference in New Issue
Block a user