Free
Releases the set's memory.
Module: Std::HashSet
Signature
rux
func Free(self);Description
Frees the set's backing buffer and resets it to an empty, uninitialized state (null data, zero count and capacity). Call it when you're finished with the set to avoid leaking its storage.
WARNING
After Free, the set must be re-initialized with Init before reuse.
Example
rux
import Std::HashSet::*;
var set: HashSet;
Init(&set);
// ... use set ...
set.Free();See also
Std::HashSet— the typeInit— initialize a setClear— empty without freeing