This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use reference to force value conversion.
Previously, the transform_iterator implementation would make a copy of the adapted iterators value when dereferencing it in order to force conversion to the value_type. This prevented transform_iterators over non-copyable types. Using a reference instead allows for forcing the conversion without invoking a copy ctor.
- Loading branch information