[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:
Depends
is depended on by SERVER-41592 Remove `SConstruct` test for `std::ma... Closed
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: SERVER-39339 Remove `stdx/memory.h`
Branch: master
https://github.com/mongodb/mongo/commit/c36f9ecb91e49da7e637863889804fc4e6c6c05e

Comment by Githook User [ 10/Jun/19 ]

Author:

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

Message: SERVER-39338 SERVER-39339 SERVER-39340 Modernize `stdx`.

`stdx::function`, `stdx::make_unique`, and `stdx::list` are
all going to be removed. This change removes all references to
them in the enterprise module.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/60a8e5af9f1232d8cabe2a5ba159a573e10206e2

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