Conversation
|
This is great. I wonder if the I suppose aspects like the double-indirection might be inappropriate for a stand-alone version and having it right here makes it easy for people to find. I added a bit more documentation and published the latest work. Thanks again for everything. You really enhanced the level of quality in the crate across the board. (and showed me some patterns I will use for all crates going forwards, e.g. with docs links in a README) |
|
Regarding the README links, I searched for a solution of that on the fly and found one mentioned here. In other words, I just learned that myself, too, while doing it :-) Unique-(a)rc could be useful as standalone, but that's a lot more work. As you can probably guess, the API included here is deliberately minimalist; if going all-in, one could probably mirror half of the API of The The standard library is also working on a – slightly (but also significantly) different – version of unique variants of rc pointers. (Their version allows creation of not-yet-initialized Finally, IMO, the standard library could also offer |
As explained in #1 (comment)
Example use-case: