Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-03-14 20:01:41

Howard Hinnant wrote:

>>> What if there existed a:
>>> template <class R>
>>> template <class F>
>>> promise_functor<R, F>
>>> promise<R>::operator()(F f);

I'd actually expect from this syntax to call f and install the result into
the promise in one easy step. :-)

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