On Thursday, 6 November 2014 at 20:06:55 UTC, deadalnix wrote:I don't think we should have a language construct for that. It ispossible to pack the returned value in a struct that enforce error checking.How?
The most similar thing that I can think about is Boost Optional.