About built-in AAs

Sean Kelly sean at invisibleduck.org
Wed Aug 17 15:40:25 PDT 2011


On Aug 17, 2011, at 2:36 PM, bearophile wrote:

> Walter:
> 
>> Bottom line, I don't think there's an actual problem here.
> 
> Thank you for your answers. And I agree that the current situation is overall better than the precedent one. 
> 
> My original first post of this thread was about other problems, quite more practical ones, like receiving help from the compiler if I am using hash protocol badly, etc. :-)

This would be a run-time issue, unless you're asking the compiler to verify your hash algorithm at compile-time :-p  I'd actually like to have some introspection functionality so I could find out the average chain length, max chain length, etc (basically what's provided by the unordered containers from C++11), but the user would still have to query this stuff to know that something was wrong.


More information about the Digitalmars-d mailing list