-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Speculatively implement LWG-4270 Diagnose misuse of std::projected::operator*
#5572
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
Conversation
It may be useful to mention LWG-4270 in the description, as it is not clickable from the title |
Thanks! 😻 I pushed a conflict-free merge with |
I pushed a merge with |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for fixing this squirrelly |
Fixes #5555.
Also
ranges::iter_move
more detailed by saying_Must_have_ADL_found_iter_move_or_be_dereferenceable
; andUnblocks libcxx tests:
std/iterators/iterator.requirements/iterator.cust/iterator.cust.move/iter_rvalue_reference_t.compile.pass.cpp
std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.comp/op_spaceship.pass.cpp
std/containers/views/views.span/span.cons/copy.pass.cpp
All of them rely on less eager instantiation in
ranges::iter_move
.Conflict with #5560
will be resolved laterhas been resolved.