Boost logo

Boost :

Subject: Re: [boost] [gsoc 2013] draft proposal for chrono::date
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-05-04 15:31:34


Le 04/05/13 20:50, Rob Stewart a écrit :
> On May 4, 2013, at 12:16 PM, "Vicente J. Botet Escriba" <vicente.botet_at_[hidden]> wrote:
>
>> Le 04/05/13 17:57, Anurag Kalia a écrit :
>>> I have a question here. Why are we not throwing the exception from set_if_valid_date() itself? Why did we include noexcept in its definition?
>>>
>> set_if_valid_date allows the user make changes without using exceptions. This is useful on some contexts.
> You could add a no_throw_t overload, or an error_code overload.
>
>
Yes, there are a lot of alternatives to this simple function. For the
time been I have set_if_valid_date. This doesn't mean that I could not
change,but this is not the major problem I have to fix.

Best,
Vicente


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