[SERVER-14152] Introduce stdx::list to deal with deficiencies in the MSVC implementation of std::list. Created: 03/Jun/14  Updated: 11/Jul/16  Resolved: 04/Jun/14

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

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

Participants:

 Description   

MSVC's implementation of std::list::splice invalidates certain iterators, while the standard requires that no iterators be invalidated by correct uses of splice. To work around this, introduce stdx::list, which is boost::container::list on MSVC and std::list, otherwise.



 Comments   
Comment by Githook User [ 04/Jun/14 ]

Author:

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

Message: SERVER-14152 Introduce stdx::list and mongo/stdx/list.h.
Branch: master
https://github.com/mongodb/mongo/commit/b0911563b1b996d366451b7d7af732c990274930

Comment by Githook User [ 04/Jun/14 ]

Author:

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

Message: SERVER-14152 Import sufficient components of boost 1.49 to support boost::container::list<T>.
Branch: master
https://github.com/mongodb/mongo/commit/f40d275dc14d8fcecde23c077d36305232177d9a

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