On 11/02/2016 01:00 AM, Andrei Alexandrescu wrote:
In order to make opAssign safe, a language change will be necessary.

Take that back, no need for a language change as long as nobody returns references to refcounted memory.

Just pushed a commit to add @safe-ty annotations everywhere. Works as advertised! So now we have a buffer of ubyte that is reference counted, safe, and supports qualifiers properly (no shared yet).

https://github.com/dlang/phobos/pull/4878


Andrei


Reply via email to