Pointer implementation for Rc and Arc should print the address of pointed value #35384
Labels
C-feature-accepted
Category: A feature request that has been accepted pending implementation.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Consider this example:
the code runs fine but the printed values are different:
The
Pointer
implementation forRc
andArc
prints the address of the inner data (RcBox
andArcInner
) instead of the address of the stored value. This seems to be inconsistent with thePointer
implementation forBox
,Shared
andUnique
.If this is a real issue, I can write a patch to fix it.
The text was updated successfully, but these errors were encountered: