[SERVER-33275] Remove `mongo/platform/unordered_`* headers Created: 12/Feb/18  Updated: 29/Oct/23  Resolved: 14/Feb/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Improvement Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-02-26
Participants:

 Description   

The `mongo/platform/unordered_map.h` and `mongo/platform/unordered_set.h` headers were added before the transition to both C++11 and the `stdx::` namespace. We now should be using `stdx::` forms of these containers.

The `platform` headers inject the `stdx::` forms into the `mongo::` namespace, which is less than ideal. We should remove these.



 Comments   
Comment by Githook User [ 14/Feb/18 ]

Author:

{'email': 'adam.martin@10gen.com', 'name': 'ADAM David Alan Martin', 'username': 'adamlsd'}

Message: SERVER-33275 Remove `platform/unordered_`* headers

These headers date from before C++11 support and the `::mongo::stdx::`
namespace. They can be removed and uses of the names therein can
be changed to `::mongo::stdx::unordered_`* forms.
Branch: master
https://github.com/mongodb/mongo/commit/060e32706980ffc84aac250022d55f92afcffa69

Generated at Thu Feb 08 04:32:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.