Struct d'tors and destructive assignment of return vals

Steven Schveighoffer schveiguy at yahoo.com
Tue May 26 18:49:21 PDT 2009


On Tue, 26 May 2009 21:44:51 -0400, dsimcha <dsimcha at yahoo.com> wrote:

> == Quote from Steven Schveighoffer (schveiguy at yahoo.com)'s article
>> What if fun throws an exception?
>> -Steve
>
> Argh good point, didn't think of that.  Then I guess you're just  
> screwed.  In that
> case, do you see any other way to get good COW semantics in this  
> situation?

opAssign maybe?  not sure...

-Steve



More information about the Digitalmars-d mailing list