Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-05-04 05:24:25


Rene Rivera wrote:
>
> I'm almost sorry to jump into this very long discussion....
>
> But I know of at least one need for "out" parameters:
>
> An asynchronous call that needs to "return" results. But because
> it's asynch it can't return it as the result of the call.

result<int> r = async_call(function_returning_int);
r.wait();
int i = r.value();

Can we please drop this thread now?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk