C++11\'s unordered_map\'s default constructor looks like this:
unordered_map
explicit unordered_map( size_type bucket_count = /*implementation-defined*/,
One of the template parameters for unordered_map is the hash function. If you specify your hash function object there you can leave the constructor parameters at their default settings.