There is not. However, sparse_hash_map is a pretty thin wrapper
around sparsehashtable. You could write your own wrapper around
sparsehashtable with not that much code, and replace pair<> with the
data structure of your choice. I don't think you'll need to modify
the sparsehashtable code at all.
craig