Items that are looked up by : O(1) add, remove and lookup, freed slots are reused and a handle to a
removed item stays invalid for good. Not thread safe.
Names a slot of a and the generation it had when the item was added. Once the slot is reused the
generation differs, so a stale handle is recognised instead of reaching the new item. default is never valid.