Boost logo

Boost :

Subject: Re: [boost] [review] string convert
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2011-05-05 12:12:41


Vicente BOTET wrote:
>
>
>> Message du 05/05/11 16:52
>> De : "Vladimir Batov"
>> A : boost_at_[hidden]
>> Copie à :
>> Objet : Re: [boost] [review] string convert
>>
>>> "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.

+1

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk