-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Description
RefValue
is really useful - not just to create mutable const
objects, but also to create mutable fields in large immutable structs. However, that requires importing Base.RefValue
- which is not exported.
So what's the deal with RefValue
? Is the type simply an internal implementation of Ref
, not to be relied on in user code? If not, can we export it from Base? If so, can we have some exported type that can be used for a similar purpose?
Metadata
Metadata
Assignees
Labels
No labels