gcc/libstdc++-v3/include
Jonathan Wakely 74fda2dc9f Fix value category bugs in std::reduce
* include/std/numeric (reduce(Iter, Iter, T, BinOp)): Fix value
	category used in invocable check.
	(reduce(Iter, Iter, T)): Pass initial value as rvalue.
	* testsuite/26_numerics/reduce/2.cc: New test.

From-SVN: r272477
2019-06-19 16:29:49 +01:00
..
backward Remove using-declarations that add std names to __gnu_cxx 2019-05-31 11:35:07 +01:00
bits Implement new serial algorithms from Parallelism TS (P0024R2) 2019-06-19 00:01:16 +01:00
c Update copyright years. 2019-01-01 13:31:55 +01:00
c_compatibility In C++17 <math.h> should not put special functions in global namespace 2019-03-21 14:03:56 +00:00
c_global Avoid undefined behaviour in std::byte operators (LWG 2950) 2019-06-18 12:39:43 +01:00
c_std Update copyright years. 2019-01-01 13:31:55 +01:00
debug PR libstdc++/87431 re-adjust never-valueless optimizations 2019-04-05 17:56:09 +01:00
decimal Update copyright years. 2019-01-01 13:31:55 +01:00
experimental PR libstdc++/90281 Fix string conversions for filesystem::path 2019-06-17 15:19:04 +01:00
ext Remove using-declarations that add std names to __gnu_cxx 2019-05-31 11:35:07 +01:00
parallel Fix markup for Parallel Mode docs 2019-05-02 16:44:51 +01:00
precompiled Remove array_allocator extension, deprecated since 4.9.0 2019-05-13 11:49:58 +01:00
pstl Synchronize libstdc++ PSTL with upstream LLVM PSTL 2019-06-07 22:01:16 +00:00
std Fix value category bugs in std::reduce 2019-06-19 16:29:49 +01:00
tr1 Improve API docs for mathematical special functions 2019-05-02 16:44:59 +01:00
tr2 Fix after P0600. 2019-01-21 11:47:30 +00:00
Makefile.am Replace std::to_string for integers with optimized version 2019-06-12 15:52:02 +01:00
Makefile.in Replace std::to_string for integers with optimized version 2019-06-12 15:52:02 +01:00