Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-02-08 09:22:51


David Abrahams wrote:

[...]

> Well, I don't really feel like arguing about this much longer.

I'd love to contribute to this discussion but there's no firm ground to
stand on. What _are_ the concepts being discussed? I think I see

AsyncCall<R>

  AsyncCall(function<R ()> f);

  void operator()();

// effects: f();

  R result() const;

// if operator()() hasn't been invoked, throw;
// if operator()() is still executing, block;
// otherwise, return the value returned by f().

but I'm not sure.


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