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
what are the use cases for unique pointer not borrowed checked, when transferred to other function as unique,
(I mean transferred as unique not as a pointer)
I'll ask it differently, why can't std::unique already force borrowed checked so tere will be no need for additional borrowed operator (like in circle)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
what are the use cases for unique pointer not borrowed checked, when transferred to other function as unique,
(I mean transferred as unique not as a pointer)
I'll ask it differently, why can't std::unique already force
borrowed checked
so tere will be no need for additional borrowed operator (like in circle)Beta Was this translation helpful? Give feedback.
All reactions