-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
std::slice::ChunkBy should implement Clone #137969
Copy link
Copy link
Closed
Labels
A-iteratorsArea: IteratorsArea: IteratorsC-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-iteratorsArea: IteratorsArea: IteratorsC-bugCategory: This is a bug.Category: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
I expected to see this happen: Code compiles and runs
Instead, this happened: Compilation error by virtue of std::slice::ChunkBy not implementing Clone
If there is a reason that
Clonecannot be supported, I don't understand it.