The default is containment, not a pointer. (Non-unique pointers are spelled with @.) There's strong C/C++ precedent for containment to be the default.
Dave On Jun 10, 2011, at 9:34 AM, Rob Arnold wrote: > Should it be the default then w/non-unique pointers growing some syntax > instead? > > -Rob > > On Fri, Jun 10, 2011 at 9:09 AM, David Herman <[email protected]> wrote: > The intention is that it will be used a lot. > > Dave > > On Jun 10, 2011, at 7:53 AM, Noel Grandin wrote: > > > If it's not going to be used a large amount you could use a keyword: > > > > uniq foo > > > > -- Noel > > > > Patrick Walton wrote: > >> I was going to use ~foo to construct a unique pointer to foo, but ~ > >> conflicts with bitwise not. We have to do > >> something. Any ideas? > >> > >> Patrick > >> _______________________________________________ > >> Rust-dev mailing list > >> [email protected] > >> https://mail.mozilla.org/listinfo/rust-dev > > > > _______________________________________________ > > Rust-dev mailing list > > [email protected] > > https://mail.mozilla.org/listinfo/rust-dev > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
