Skip to content

Conversation

@CaseyCarter
Copy link
Contributor

... even in std algorithms that optimize general contiguous_iterators.

Fixes #1523.

... even in std algorithms that optimize general `contiguous_iterator`s.

Fixes microsoft#1523.
@CaseyCarter CaseyCarter added the bug Something isn't working label Dec 10, 2020
@CaseyCarter CaseyCarter requested a review from a team as a code owner December 10, 2020 21:17
@cpplearner
Copy link
Contributor

#1433 contains another fix

@StephanTLavavej
Copy link
Member

@CaseyCarter says that this PR should be merged first, and then #1433 should be merged on top of this, since this is a targeted fix.

@cbezault cbezault removed their assignment Dec 21, 2020
@StephanTLavavej
Copy link
Member

I've pushed a merge; this PR was editing !_HAS_IF_CONSTEXPR codepaths that have simply been deleted.

@StephanTLavavej
Copy link
Member

FYI @cbezault, I pushed minor changes after you approved.

@StephanTLavavej
Copy link
Member

FYI @cbezault I pushed changes again, so that the tests will pass in the MSVC-internal repo (which insists on linking and running all executables, whereas you had taught the GitHub test harness to skip linking/running test.compile.pass.cpp 😻).

@StephanTLavavej StephanTLavavej merged commit ac4fde7 into microsoft:master Jan 8, 2021
@StephanTLavavej
Copy link
Member

Thanks for fixing this bug! 😺

@CaseyCarter CaseyCarter deleted the gh1523 branch January 21, 2021 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some StdLib algorithms fail /std:c++latest compilation with custom contiguous iterators (Visual Studio 2019 16.8)

4 participants