Hi Mark, Try this: namespace __gnu_cxx { struct hash<Object> { size_t operator()(const Object& obj) const { return obj->hashcode(); } }; } HTH, --Eljay