Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

is there a reason for unique not to be borrowed checked always? #1368

Unanswered
shemeshg asked this question in Q&A
Discussion options

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)

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /