Boost logo

Boost :

From: Johan Torp (johan.torp_at_[hidden])
Date: 2008-05-16 13:01:25

Frank Mori Hess wrote:
> Can you come up with any specific examples of how implicitly constructing
> a
> ready future from a value would be dangerous? It's not like implicity
> constructing a shared_ptr from a raw pointer, which might cause the raw
> pointer to be accidentally deleted.

I haven't thought of any examples. I was just wondering how much you rely on
in it and how useful it is.

Frank Mori Hess wrote:
> It's certainly less dangerous than going
> the other direction (which has generated some controversy): implicit
> conversion of a future to a value, which can block.



View this message in context:
Sent from the Boost - Dev mailing list archive at

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