https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91495
Bug ID: 91495
Summary: std::transform_reduce with unary op is implemented in
the parallel case but not the basic case
Product: gcc
Version: 9.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: a.boettcher at gmail dot com
Target Milestone: ---
The iso standard per 29.8.5 requires a definition of the type below which is
conspicuously missing in GCC-9, despite the parallel versions existing.
template<class InputIterator, class T,class BinaryOperation, class
UnaryOperation>T transform_reduce(InputIterator first, InputIterator last,T
init,BinaryOperation binary_op, UnaryOperation unary_op);
Seems like an obvious mistake