[Issue 24820] Associative arrays do not correctly handle keys with copy constructors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 18 10:15:26 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24820

--- Comment #2 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
It looks like the AA implementation currently has a test to verify that it
handles postblits correctly. Presumably, that could be copied and reworked to
verify that copy constructors get called correctly:

https://github.com/dlang/dmd/blob/master/druntime/src/rt/aaA.d#L935

--


More information about the Digitalmars-d-bugs mailing list