Manual Memory Management in D (take 3)

Code



Application output:

Memory allocated TestClass's constructor called test.x = 42 TestClass's destructor called Memory deallocated

Paste info


Author: Guest
Views: 905
Private: no
Expires: Never
Uploaded: 27.02.14 0:58
Votes: 0

Compilation


Compiler: DMD 2.077.1 ( 2.077.1 )
Pointer size: m64

Actions