[SERVER-40951] Add support for LazyConvertible<T> Created: 01/May/19  Updated: 04/Jun/19  Resolved: 04/Jun/19

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

Type: Improvement Priority: Major - P3
Reporter: Mira Carey Assignee: Mathias Stearn
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-40765 Add support for future returning rpc ... Closed
Sprint: Service Arch 2019-05-06, Service Arch 2019-05-20, Service Arch 2019-06-03, Service Arch 2019-06-17
Participants:

 Description   

Add support for a LazyConvertible<T>

which is constructible from arbitrary U&&'s (convertible to T) and provides access to a convert() method which can perform the conversion optionally, at a later time.

The main goal for the type is to offer a type erased maybe move sink which can avoid early conversion



 Comments   
Comment by Ratika Gandhi [ 04/Jun/19 ]

Will fix when there is a use case. 

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