14 Jun
2013
14 Jun
'13
8:12 p.m.
On Friday 14 June 2013 21:24:32 Klaim - Joël Lamotte wrote:
I just hit this using VS2012/boost 1.54 beta.
I also tried with http://coliru.stacked-crooked.com/ gcc4.8 (but I don't know the boost version) and got a similar error.
I first hit this with boost::future but it don't seem to be the problem as it generate the same error.
My question is: does std/boost::future don't match the requirements to be an optional value? Or is this an error I should log?
I think the problem is that future is not copyable (only movable) and boost::optional doesn't support move yet. I think I read in this list that some work is going in this direction, but I don't know the details.