-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iox::rp::RelativePointer
violates type safety
#1121
Comments
FYI @MatthiasKillat . I think this may be fixed quickly - do you have time to fix this before 2.0 ? |
@elfenpiff I think I have the time. But at some point I wanted to also refactor the whole design, e.g. without inheritance which was a questionable decision and an optimized lookup/repository (lookup needs to be fast, as it happens anytime we dereference). The refactoring would clean up some code similar to the refactoring of Before 2.0: bugfix yes, refactoring no. Will have a look tomorrow. |
iox::rp::RelativePointer
destroys type safetyiox::rp::RelativePointer
violates type safety
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
Signed-off-by: Matthias Killat <matthias.killat@apex.ai>
…e-ptr-conversion Iox #1121 only type safe relative ptr conversion
Required information
It is possible to assign any arbitrary pointer to the
RelativePointer
, see the following code:The
AtomicRelocatablePointer
is not affected and works as expected.The text was updated successfully, but these errors were encountered: