Advice wanted on garbage collection of sockets for c++ programmer using D

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 28 00:51:18 PDT 2017


On 2017-06-27 17:24, Steven Schveighoffer wrote:

> Yes, Tango solved this by having a separate "finalize()" method. I wish
> we had something like this.

Not sure if this is the same, but I remember that Tango had a separate 
method called "dispose" that was called if a class was allocated on the 
stack, i.e. with the "scope" keyword.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list