--- Comment #1 from Steven Schveighoffer <> 2009-11-24 
20:02:10 PST ---
I should clarify:

I think idup should fail if the element has any *non-immutable* references in

Note this leaves us with no ways to dup a const array with references in it! 
Should we have cdup?  A workaround to both would be to always allow dup when an
explicit cast is involved.


auto arg2 = cast(const(C)[])arg.dup;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to