RFC: reference counted Throwable

ponce via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 11:17:35 PDT 2014


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


More information about the Digitalmars-d mailing list