3 ms·
Pin and unpin handle circular references, sort of.
by hedora 2y ago
Pin and unpin handle circular references, sort of.
- ycombinatrix 2y agostd::rc::Weak?
- tonyedgecombe 2y agoThe GP does mention Rc/Arc.
- ycombinatrix 2y agoRc & Arc don't have the same behavior as Weak
- tonyedgecombe 2y agoCan you use Weak without either Rc or Arc?
- ycombinatrix 2y agonot relevant but yes, you can.
- deleted 2y ago[deleted]
- SkiFire13 2y agoNot really, they are just tools to expose circular references (or self-references) that are *already managed by unsafe code*.