The base KeyFuncs type with some useful definitions for all KeyFuncs; meant to be derived from instead of used directly. bInAllowDuplicateKeys=true is slightly faster because it allows the TSet to skip validating that there isn't already a duplicate entry in the TSet.