http://d.puremagic.com/issues/show_bug.cgi?id=5700



--- Comment #5 from [email protected] 2013-02-07 03:05:13 PST ---
(In reply to comment #4)
> (In reply to comment #1)
> > Actually, I think that it depends. For primitives and classes, dup should
> > definitely be allowed. However, for structs, they'd need a postblit which 
> > was
> > nothrow (if they had one), and they'd all of their member variables to 
> > either
> > be classes or primitives or be structs which... recursion. So, you can't 
> > just
> > blindly make the duping of arrays nothrow, but yes, it should generally be
> > legal to dup arrays in nothrow functions. It's just a bit more complicated 
> > when
> > dealing with structs.
> 
> Just want to point out http://d.puremagic.com/issues/show_bug.cgi?id=9468 : 
> dup
> does not call postblit.
> 
> So at this point, *that* issue needs to be fixed before dup can even try to
> conditionally be nothrow (or @safe)

Wait, never mind, ignore me.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to