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