Closed
Description
- ARC should have a get method to complement the get function. This would make ARCs a bit nicer to use and would be more consistent with the other arc types.
- MutexARC should have read and write methods instead of an access method. This is more consistent with RWARC, makes the semantics of the code clearer, and is important for types like LinearMap where the API changes depending on whether the reference is immutable or not (and currently if you have a mutable reference you cannot get an immutable reference without something like the Mut type or unsafe).