Boost logo

Boost :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2007-03-10 12:17:01

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_at_[hidden] on behalf of Peter Dimov
Sent: Sat 3/10/2007 5:17 AM
To: boost_at_[hidden]
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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at