Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ranges::swap_ranges #918

Merged
merged 70 commits into from
Jul 2, 2020

Conversation

ahanamuk
Copy link
Contributor

No description provided.

ahanamuk and others added 30 commits June 8, 2020 15:15
* `++_UFirst, --_Count` in `fill_n` triggers the "evil" `operator,` overload in `range_algorithm_support.hpp` that exists specifically to ensure that algorithms guard against operator hijacking. Add the `(void)` cast necessary to avoid hijacking.

* `test_out` instantiates with output ranges - not output iterators - so `fill_n`'s `instantiator::call` needs to call `begin` in the `out` parameter to get an iterator.
Fix merge conflict on `fill_algo_branch1`
CaseyCarter and others added 18 commits July 1, 2020 13:04
Fixes microsoft#874.

Co-authored-by: Casey Carter <[email protected]>
Co-authored-by: Stephan T. Lavavej <[email protected]>
Co-authored-by: mnatsuhara <[email protected]>
Co-authored-by: Stephan T. Lavavej <[email protected]>
Co-authored-by: Stephan T. Lavavej <[email protected]>
... a couple of days ago, after making it non-movable.
@CaseyCarter CaseyCarter merged commit 9b248c7 into microsoft:master Jul 2, 2020
@CaseyCarter CaseyCarter mentioned this pull request Jul 2, 2020
@CaseyCarter CaseyCarter removed their assignment Jul 2, 2020
@StephanTLavavej StephanTLavavej added the ranges C++20/23 ranges label Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxx20 C++20 feature ranges C++20/23 ranges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants