[SERVER-15335] Provide implementation of std::hash<mongo::HostAndPort> Created: 19/Sep/14  Updated: 02/Oct/14  Resolved: 22/Sep/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.7.7

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

This will allow HostAndPort to be stored in an unordered_map or unordered_set.



 Comments   
Comment by Githook User [ 22/Sep/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-15335 Make HostAndPort hashable.
Branch: master
https://github.com/mongodb/mongo/commit/92daab5896113b963f89b93c424e605180002178

Generated at Thu Feb 08 03:37:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.