Manual Memory Management in D (take 2)

Code



Application output:

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

Paste info


Author: Guest
Views: 816
Private: no
Expires: Never
Uploaded: 26.02.14 5:38
Votes: 0

Compilation


Compiler: DMD 2.076.1 ( 2.076.1 )
Pointer size: m64

Actions