
13 Feb
2013
13 Feb
'13
11:45 a.m.
On 02/11/2013 10:12 PM, Jeffrey Lee Hellrung, Jr. wrote:
On Mon, Feb 11, 2013 at 12:01 PM, Ralph Tandetzky < ralph.tandetzky@googlemail.com> wrote:
Nice idea though. write_ptr<T> would behave like value_ptr<T>
Not as I understand it; write_ptr would behave similar to unique_ptr, i.e., it would be move-only. Agreed. That makes more sense for client code.
and read_ptr<T> would behave like shared_ptr<T const> with the additional ability to return write_ptrs and being constructible from an rref to write_ptr. Right. Thanks, Ralph