[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: These headers date from before C++11 support and the `::mongo::stdx::` |