aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/complex
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-12-10 16:15:49 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-12-10 16:15:49 +0000
commit990a09e486a2fb6170d82580d245e6f013a16904 (patch)
treeba7f6be93faf6a510d89175f78853abfb82ef518 /libstdc++-v3/include/std/complex
parentd0d0ba20f2345023e9cec2419c9fb9e6cc7098c6 (diff)
downloadgcc-990a09e486a2fb6170d82580d245e6f013a16904.zip
gcc-990a09e486a2fb6170d82580d245e6f013a16904.tar.gz
gcc-990a09e486a2fb6170d82580d245e6f013a16904.tar.bz2
libstdc++: Fix bug in std::indirect_result_t
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
Diffstat (limited to 'libstdc++-v3/include/std/complex')
0 files changed, 0 insertions, 0 deletions