[SERVER-17311] Tag BSONObj and supporting class lifecycle methods with noexcept as needed Created: 17/Feb/15  Updated: 04/Jun/19  Resolved: 03/Jun/19

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Alya Berciu
Resolution: Done Votes: 0
Labels: C++11, neweng, platforms-re-triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-06-03, Dev Tools 2019-06-17
Participants:

 Description   

BSONObj, SharedBuffer, and RecordData should all be noexcept moveable since they are so heavily used in the codebase. This requires a little ugliness since VS2013 doesn't do noexcept or implicit move generation, but we can just write the explicit declarations but guard them.



 Comments   
Comment by Githook User [ 03/Jun/19 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-17311 Ensure BSONObj, RecordData, and SharedBuffer are noexcept moveable
Branch: master
https://github.com/mongodb/mongo/commit/9d212e4f098ccf4821fd6a1acde60402373b70ee

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