Custom hash table key is const, how to call dtors?

cy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 6 17:05:28 PST 2016


On Saturday, 6 February 2016 at 03:57:16 UTC, Marco Leise wrote:

> No, but they could have dtors because they contain malloc'd 
> data. E.g. string literals that don't live on the GC heap.

Character arrays allocated with glibc malloc are immutable? News 
to me...


More information about the Digitalmars-d-learn mailing list