[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: |