What is throwable
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Mar 19 10:37:40 PDT 2009
Denis Koroskin wrote:
> On Thu, 19 Mar 2009 19:39:52 +0300, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>
>> Ary Borenszweig wrote:
>>> Andrei Alexandrescu wrote:
>>>> Anyhow, we should implement a model in D that allows such multiple
>>>> throws.
>>> What for?
>>
>> For allowing destructors to throw.
>>
>> Andrei
>
> Are you sure this is sound?
Yes. The notion that throwing destructors should terminate the
application pronto is a prejudice we got from C++.
Andrei
More information about the Digitalmars-d
mailing list