[fpc-devel] 2 Ideas for generic TDictionary and other hash containers

Marco van de Voort fpc at pascalprogramming.org
Thu Mar 27 12:33:36 CET 2025


Op 27-3-2025 om 12:28 schreef Martin Frb via fpc-devel:
>
> which returns True, if Akey was found and therefore APtr points to 
> existing Data, while otherwise APtr points to the empty slot, where 
> the data can be copied to.
>
Without a key, you can't find the bucket or whatever where to allocate, 
so this is not possible for all dictionaries IMHO. IOW, it violates the 
contract with implementation details.




More information about the fpc-devel mailing list