SImple C++ code to D

Alexandre via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 15 08:56:49 PDT 2014


Yes yes, I will use the ref... is more safer!

I will try to re-create my logic...
btw, how is the best way to "reinterpret" this ??:

map<string, Address> syms;

and:
vector<pair<DWORD, Address>> values;
vector<pair<DWORD, shared_ptr<DWORD>>> addrs;

On Tuesday, 15 July 2014 at 14:55:36 UTC, bearophile wrote:
> Alexandre:
>
>> as rc is better for managing scarce resources like file 
>> handles.
>
> File instances are ref counted in D. Is this useful for you?
>
> Bye,
> bearophile



More information about the Digitalmars-d-learn mailing list