iterator_concepts.h
28.1 KB
-
libstdc++: Fix bug in std::indirect_result_t · 990a09e4
The alias template wasn't working because it applied iter_reference_t to the pack of iterators before and after passing the pack to the __indeirect_result helper. * include/bits/iterator_concepts.h (indirect_result_t): Do not apply iter_reference_t to parameter pack. * testsuite/24_iterators/indirect_callable/projected.cc: New test. From-SVN: r279170
Jonathan Wakely committed