|
Boost : |
Subject: Re: [boost] [gsoc 2013] draft proposal for chrono::date
From: Rob Stewart (robertstewart_at_[hidden])
Date: 2013-05-04 14:50:45
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.
___
Rob
(Sent from my portable computation engine)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk