useDefaultValue

Use default value specified at construction as an indicator of key absence. That allows to save K.ValueSetSize bits of memory.

E.g., you might want to use -1 as such indicator if non-negative numbers are stored in the dictionary.

mixin template useDefaultValue (
K
V
) {}

Meta