Skip to content

Conversation

@miscco
Copy link
Contributor

@miscco miscco commented Nov 12, 2020

Addresses #1446

Fixes #1463.

@miscco miscco requested a review from a team as a code owner November 12, 2020 10:45
@StephanTLavavej StephanTLavavej added the LWG Library Working Group issue label Nov 12, 2020
@CaseyCarter CaseyCarter self-assigned this Nov 18, 2020
@CaseyCarter CaseyCarter added the ranges C++20/23 ranges label Nov 18, 2020
StephanTLavavej and others added 2 commits November 19, 2020 23:57
* Correct the requirement on the new `operator==` overload
* Rename `_Base_Ty` to `_Base_t` and `_Counted_Iter` to `_Counted_iter` to be consistent with our naming conventions (snakes and camels don't mix).
@CaseyCarter CaseyCarter removed their assignment Dec 3, 2020
@CaseyCarter
Copy link
Contributor

@miscco @StephanTLavavej FYI I pushed a commit to change the names _Counted_Iter and _Base_Ty to be consistent with our naming conventions (snakes and camels don't mix) and to correct the constraint on the new operator== overload.

@StephanTLavavej
Copy link
Member

@miscco @CaseyCarter Does this indicate that we're missing operator== test coverage?

@CaseyCarter CaseyCarter self-requested a review December 4, 2020 02:45
@CaseyCarter
Copy link
Contributor

@miscco @CaseyCarter Does this indicate that we're missing operator== test coverage?

Yes: the take_view test passes with the new operator== commented out. We need to investigate. (Maybe our test ranges all model simple-view?)

@CaseyCarter
Copy link
Contributor

Maybe our test ranges all model simple-view?

Why yes, yes they do.

@StephanTLavavej StephanTLavavej self-requested a review December 4, 2020 04:28
@miscco
Copy link
Contributor Author

miscco commented Dec 7, 2020

I would suggest that we merge this and then fix the simple_view issue globally.

I believe there will be sufficient breakage coming from it for many PRs

@CaseyCarter
Copy link
Contributor

I would suggest that we merge this and then fix the simple_view issue globally.

I believe there will be sufficient breakage coming from it for many PRs

I agree; I've updated #1409 to include addressing this problem in all of the view tests. I'll move this to Final Review and we'll see if @StephanTLavavej agrees with that strategy.

@StephanTLavavej StephanTLavavej removed their assignment Dec 11, 2020
@StephanTLavavej
Copy link
Member

That strategy sounds good to me, thanks. I've pushed a merge to test this with 16.9 Preview 2 (no conflicts).

@StephanTLavavej StephanTLavavej self-assigned this Dec 16, 2020
@StephanTLavavej StephanTLavavej merged commit d01fd4b into microsoft:master Dec 17, 2020
@StephanTLavavej
Copy link
Member

Thanks for implementing this LWG issue resolution and increasing the crystalline perfection of ranges! 💎 😸

@miscco miscco deleted the lwg3449 branch September 7, 2021 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LWG Library Working Group issue ranges C++20/23 ranges

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LWG-3449 take_view and take_while_view's sentinel<false> not comparable with their const iterator

3 participants