
10 Mar
2007
10 Mar
'07
5:17 p.m.
In the spirit of greppability, which is very useful in the case of *_cast, I hope the proposal can be reworked into a syntax that one can grep for when trying to find instances of where a statement may block. -----Original Message----- From: boost-bounces@lists.boost.org on behalf of Peter Dimov Sent: Sat 3/10/2007 5:17 AM To: boost@lists.boost.org Subject: Re: [boost] [futures] boost::futures
future<int> x = std::fork(myfunc); //200 lines later z = x + y; // this blocks or throws, mystifying young programmers everywhere
Another tradeoff. I think that the implicit conversion here is worth keeping because the parallelized syntax is closer to the traditional sequential one. It's a matter of taste.