Return a class instance as a pointer

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Mar 31 08:46:00 PDT 2012


On 3/31/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> Perhaps you could keep a hash of objects:
> __gshared[Object] _store;

Err that should be:
__gshared void[0][Object] _store;

Or something like that. Not sure if the void[0] part is right, but
basically it's used to make set types (hashes with no values).


More information about the Digitalmars-d mailing list