BucketFromNode typedef must be defined as a function returning size_t, as GetBucketForNode() method in the classes generated by hash map macros does, to avoid warnings about bad function pointer casts in Win64 build, where size_t is not the same thing as "unsigned long".