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 theTSetto skip validating that there isn't already a duplicate entry in theTSet.