News for hackers. Stuff that matters.
Re:Async destructors, async genericity and completion futures by lilyball on Wednesday June 01, 2022 @08:20PM (#31589829)
Yes, but you'd have to generate that dummy value upon creating the real value, and then pass it along with the real value so it's available to the spot that needs to consume it. This would ultimately end up being just a much more awkward way of having the real value just track a boolean internally for this and slapping Option around any non-trivial return value from the method.

There are no comments on this comment yet.