[SERVER-39339] Remove `stdx/memory.h` Created: 01/Feb/19 Updated: 29/Oct/23 Resolved: 10/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.14 |
| 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 | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Dev Tools 2019-06-03, Dev Tools 2019-06-17 | ||||||||
| Participants: | |||||||||
| Description |
|
Remove the `stdx/memory.h` header. It brings in `std::make_unique` from either boost or std. It has been part of `std` since C+14. Let's remove this legacy artifact from C+11. Remove the file, and correct all uses of the `stdx::make_unique` name. Lint already permits either. Time to finish the job. |
| Comments |
| Comment by Githook User [ 10/Jun/19 ] |
|
Author: {'name': 'ADAM David Alan Martin', 'email': 'adam.martin@10gen.com', 'username': 'adamlsd'}Message: |
| Comment by Githook User [ 10/Jun/19 ] |
|
Author: {'name': 'ADAM David Alan Martin', 'email': 'adam.martin@10gen.com', 'username': 'adamlsd'}Message: `stdx::function`, `stdx::make_unique`, and `stdx::list` are |