16 May
2017
16 May
'17
1:50 a.m.
Gavin Lambert wrote:
Surely this must also throw if f1_impl() can produce an error outcome and thus might not contain an X?
Yes of course, the examples are deliberately identical semantically, one uses "void get()" and the other uses "T value()". I prefer the second.