You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implemented zip_iterator::dereference() always returns a tuple of dereferenced values of the underlying iterators. This makes it unusable for transform like algorithms which is clearly wrong. The issue is in the dref_tuple_elements function which should somehow check if the *it is a rvalue reference (from a transform operation) in which case value should be returned. Otherwise it should return a tuple of lvalue references so that assignment is possible.
The text was updated successfully, but these errors were encountered:
The implemented zip_iterator::dereference() always returns a tuple of dereferenced values of the underlying iterators. This makes it unusable for transform like algorithms which is clearly wrong. The issue is in the dref_tuple_elements function which should somehow check if the *it is a rvalue reference (from a transform operation) in which case value should be returned. Otherwise it should return a tuple of lvalue references so that assignment is possible.
The text was updated successfully, but these errors were encountered: