
Message du 05/05/11 18:58 De : "Stewart, Robert" A : "'boost@lists.boost.org'" Copie à : Objet : Re: [boost] [review] string convert
Vicente BOTET wrote:
De : "Vladimir Batov"
"Stewart, Robert" wrote
Maybe to avoid the temptation of pairing up we could simplify (at least from the user perspectives) down to:
1. T convert_cast(S) 2. T convert_cast(S, T, throw_t =nothrow)
I don't see why (2) the user could want to throw when is giving a fallback. So the throw_t =nothrow is not needed.
That's the non-DefaultConstructible, no-sentinel use case:
Sorry. I believed we had a consensus in using the default_value CP so I was taking the additional T parameter as fallback. Could we state if the default_value CP is adopted? How think is not a good thing and why? Best, Vicente