[SERVER-52510] Add additional composition member function to StatusWith for Status-returning functions Created: 30/Oct/20 Updated: 11/May/21 Resolved: 11/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jacob Evans | Assignee: | Jacob Evans |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
The existing composition member functions are missing a method that accepts functions that return Status such as:
which we'd like to be able to call directly from a StatusWith<Foo> |
| Comments |
| Comment by Jacob Evans [ 11/May/21 ] |
|
Closing since this isn't a priority but the attached patch is code complete and ready to be run through code review. |