|
Boost Users : |
Subject: [Boost-users] BOOST_RESULT_OF_USE_DECLTYPE and Boost.Optional ?
From: John M. Dlugosz (ngnr63q02_at_[hidden])
Date: 2012-05-27 08:43:19
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net