-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
subrange get<0>
requires a copyable iterator
#2425
subrange get<0>
requires a copyable iterator
#2425
Conversation
per LWG-3589. Fixes microsoft#2399
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sah what you did there
@@ -1483,3 +1484,44 @@ namespace test_subrange { | |||
STATIC_ASSERT(test_tuple<subrange<int*, std::unreachable_sentinel_t, subrange_kind::sized>>()); | |||
STATIC_ASSERT(test_tuple<subrange<int*, std::unreachable_sentinel_t, subrange_kind::unsized>>()); | |||
} // namespace test_subrange | |||
|
|||
namespace test_lwg_3589 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"LWG" is capitalized on 26.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can live with this, no need to reset testing.
@@ -1483,3 +1484,44 @@ namespace test_subrange { | |||
STATIC_ASSERT(test_tuple<subrange<int*, std::unreachable_sentinel_t, subrange_kind::sized>>()); | |||
STATIC_ASSERT(test_tuple<subrange<int*, std::unreachable_sentinel_t, subrange_kind::unsized>>()); | |||
} // namespace test_subrange | |||
|
|||
namespace test_lwg_3589 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can live with this, no need to reset testing.
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for implementing this LWG issue resolution! ✅ 🚀 🎉 |
per LWG-3589.
Fixes #2399