[SERVER-35686] Add an assignment operator to Promise<T> Created: 19/Jun/18  Updated: 29/Oct/23  Resolved: 03/Aug/18

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

Type: New Feature Priority: Major - P3
Reporter: Mira Carey Assignee: ADAM Martin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-36379 Add move-assignment to promise. Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-08-13
Participants:

 Description   

Promise(Promise&&) exists, but Promise& =operator(Promise&&) doesn't



 Comments   
Comment by Githook User [ 03/Aug/18 ]

Author:

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

Message: SERVER-35686 Add move assignment to promise.

Since `Promise` now can only be correctly created using
`makePromiseFuture`, we can now make `Promise` move assignable.
Branch: master
https://github.com/mongodb/mongo/commit/f9cdc546961507d3fdf1b74a438ea18455d7a660

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