
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.
Agreed. Johan -- View this message in context: http://www.nabble.com/-future--direct-construct-from-value-tp17253307p172796... Sent from the Boost - Dev mailing list archive at Nabble.com.