| Did you know ... | Search Documentation: |
| hash_table-refer |
both. A table created with none
refers to neither, which is what a tool that monitors the object base
needs: it can hold objects without keeping them alive. Such a table does
not know when an entry dies, so the tool must remove entries itself, for
example from a class->freed_message.
Pass it as the second initialisation argument:
new(T, hash_table(@default, none))