Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost][thread] Future returning 0xfeeefeee
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-04-07 18:01:20


Le 07/04/13 23:38, Klaim - Joël Lamotte a écrit :
>
>
>
> On Sun, Apr 7, 2013 at 11:19 PM, Vicente J. Botet Escriba
> <vicente.botet_at_[hidden] <mailto:vicente.botet_at_[hidden]>> wrote:
>
> I've changed the example to force copy semantics with std::vector
> ...
> Could you try it on your environment?
>
>
>
> Yes, I just tried it and I think I've mixed up things in previous email:
> - first, the two defines, as I was saying, seem exactly equivalent,
> but I still tried both, in doubt;
Maybe you are right. I need to check the standard.
> - both cases, (#if 0 and #if 1) FAILS: 'value' is equal to DDDDDDDD
> in Debug mode in both cases.
> - I also tried with std::future/promise : both SUCCEED.
>
> So apparently the problem seem to lie only in boost::future/promise,
> not specifically with WorkQueue.
Again you are surely right.
> I tested only inside my specific test environnement, to be certain
> I'll try again with an empty project.
>
> It's all under VS2012 , I'll try VS2010 too. Looks like another
> VC-specific problem for boost?
>
I will be able to test with VS2010 tomorrow also, but not with VS2012.

Vicente



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