@nogc hash

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 9 03:16:09 PDT 2016


What is the way forward with @nogc and hash tables?
At the moment it is - AFAICT - not possible to insert an
element into a hash table in @nogc code. Aggregate types work
since you can always implement a @nogc toHash and look for
that, but other types don't. Or do I miss something?

-- 
Marco



More information about the Digitalmars-d mailing list