Boost logo

Threads-Devel :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-03-11 14:38:32


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 11 March 2008 13:36 pm, Anthony Williams wrote:
> No, it's not finished yet. Detlef posted a draft on the WG21 wiki, but
> it's password protected. The paper is strongly based on N2276
> (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2276.html),

Interesting. The packaged_task part seems to have a lot of overlap with
promise. Wouldn't you get the same functionality from a boost::function<R
()> plus a promise as you get from packaged_task? Maybe I'm just not fully
grasping its purpose.

Also, have you considered supporting implicit conversions between future<U>
and future<V> where there is an implict conversion between U and V? My
libpoet library does that, and it's helpful for passing futures between
active object functors that return futures and accept them as arguments.

Are you planning to submit your future library to boost? Is boost still used
as a testing ground for standard proposals? I suppose at this point, getting
a futures proposal into C++0x might be the fastest way to get it into boost
in any case.

- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH1tGp5vihyNWuA4URAi9EAKDYpeniSXl021WirPf7Wo97TH1zpgCfQ8dh
78vv3H6v4uEuDcvY5XpF1J0=
=jNjd
-----END PGP SIGNATURE-----


Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk