[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: File status_with.patch    
Issue Links:
Related
related to SERVER-47327 Add composition member functions to S... Closed
Participants:

 Description   

The existing composition member functions are missing a method that accepts functions that return Status such as:

Status verifyFoo(Foo foo)

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.

Generated at Thu Feb 08 05:28:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.