BOOST_RESULT_OF_USE_DECLTYPE and Boost.Optional ?

27 May
2012
27 May
'12
12:43 p.m.
Hmm, the error isn't quite what I said: 1>V:\Trunk\stable\src\Include\Tools/async.h(268): error C2664: 'boost::unique_future<R>::unique_future(boost::unique_future<R> &)' : cannot convert parameter 1 from 'boost::unique_future<R>' to 'boost::unique_future<R> &' 1> with 1> [ 1> R=boost::optional<in_addr> & 1> ] 1> and 1> [ 1> R=boost::optional<in_addr> 1> ] 1> and 1> [ 1> R=boost::optional<in_addr> & 1> ] But my other test cases of using unique_future (with simple types) work OK. —John
4758
Age (days ago)
4758
Last active (days ago)
0 comments
1 participants
participants (1)
-
John M. Dlugosz