RFC: reference counted Throwable

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 11:48:56 PDT 2014


On 9/20/14, 11:17 AM, ponce wrote:
> On Saturday, 20 September 2014 at 16:41:20 UTC, Andrei Alexandrescu wrote:
>> On 9/20/14, 2:05 AM, ponce wrote:
>>> On Friday, 19 September 2014 at 15:32:38 UTC, Andrei Alexandrescu wrote:
>>>> Please chime in with thoughts.
>>>
>>> Coudln't we throw value types instead? (like in C++)
>>
>> My knee-jerk reaction is we shouldn't. If considered, that would need
>> to be well argued. We've derived good benefits from using polymorphic
>> exceptions. -- Andrei
>
> What do you think of the solution briefly outlined here:
> http://forum.dlang.org/post/iqenumncmczqvprwutmg@forum.dlang.org

The short answer is I wouldn't advise pursuing it. -- Andrei


More information about the Digitalmars-d mailing list