[bugfix] Fix two bugs in TransformedRangeView and TransformedRangeIterator
All threads resolved!
All threads resolved!
- Properly forward r-value references of functions to
enable move-construction for function stored in
TransformedRangeView
where possible. - Fix and test
operator->
inTransformedRangeIterator
. For transformations returning l-value references, the operator did a copy, such thatit->foo()
and(*it).foo()
act on different objects. The fix is to correctly forward the l-value reference to the proxy-object returned byoperator->
.
Merge request reports
Activity
added bug label
- Resolved by Carsten Gräser
- Resolved by Carsten Gräser
I had already started with most of the changes you also have added here. So, looks quiet fine to me.
enabled an automatic merge when the pipeline for ef56d403 succeeds
mentioned in commit b71d7bf3
Please register or sign in to reply