On Tuesday, 27 October 2015 at 21:50:15 UTC, Andrei Alexandrescu
wrote:
On 10/27/2015 05:26 PM, rsw0x wrote:
It has been a great success for Rust, I rarely ever see RC
used anywhere
in Rust code thanks to borrowing. The new C++ core guidelines
are also
heavily based on this cf. *_view types in GSL.
You can safely ignore the C++ part, the views are unsafe. I'd
appreciate if you backed up your claim on Rust. -- Andrei
That is ultimately irrelevant. Be it unique_ptr or shared_ptr,
the same problem arise: this must not escape.