You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think int a[3] in arguments should be decayed straight away to Ptr<T>.
Also, we probably need a faster "reinterpret" that doesn't go through to_strong().as_pointer. Seems wasteful.
We can extend reinterpret_cast to have a fast path for this kind of type reinterpretations and reaplce to_strong().as_pointer() with reinterpret_cast()
Activity
lucic71 commentedon Sep 20, 2026
We can extend reinterpret_cast to have a fast path for this kind of type reinterpretations and reaplce
to_strong().as_pointer()withreinterpret_cast()nunoplopes commentedon Sep 20, 2026
Fixed here: #410
Still need to audit usage of StrongPtr and other similar stuff.