-
Notifications
You must be signed in to change notification settings - Fork 804
Closed
Labels
lwgIssue must be reviewed by LWG.Issue must be reviewed by LWG.
Description
The std::set_intersection algorithm forbids overlap of the input ranges with the output range, but if first2 and result would be equal, the algorithm could still work.
This would allow inplace execution without memory allocation, which is a big plus.
26.8.7.4 set_intersection (wording)
replace: The resulting range does not overlap with either of the original ranges.
with: result may be equal first2, otherwise the resulting range does not overlap with either of the original ranges.
Metadata
Metadata
Assignees
Labels
lwgIssue must be reviewed by LWG.Issue must be reviewed by LWG.