gcc/libstdc++-v3/testsuite/26_numerics
Jonathan Wakely 2944621e2c Avoid including all of <random> in <algorithm>
PR libstdc++/69464
	* include/Makefile.am: Add new header.
	* include/Makefile.in: Regenerate.
	* include/bits/random.h (uniform_int_distribution): Move to
	bits/uniform_int_dist.h.
	* include/bits/random.tcc (uniform_int_distribution::operator(),
	uniform_int_distribution::__generate_impl): Likewise.
	* include/bits/uniform_int_dist.h: New header.
	* include/bits/stl_algo.h [__cplusplus >= 201103L]: Include
	<bits/uniform_int_dist.h> instead of <random>.
	* testsuite/20_util/specialized_algorithms/uninitialized_copy/
	move_iterators/1.cc: Include correct header for uninitialized_copy.
	* testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
	move_iterators/1.cc: Likewise.
	* testsuite/25_algorithms/nth_element/58800.cc: Include correct
	header for vector.
	* testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error lines.

From-SVN: r232798
2016-01-25 16:44:30 +00:00
..
accumulate Update copyright years. 2016-01-04 15:30:50 +01:00
adjacent_difference Update copyright years. 2016-01-04 15:30:50 +01:00
complex Update copyright years. 2016-01-04 15:30:50 +01:00
headers Add C++11 <cmath> overloads to the global namespace 2016-01-20 17:44:58 +00:00
inner_product Update copyright years. 2016-01-04 15:30:50 +01:00
iota Update copyright years. 2016-01-04 15:30:50 +01:00
partial_sum Update copyright years. 2016-01-04 15:30:50 +01:00
random Avoid including all of <random> in <algorithm> 2016-01-25 16:44:30 +00:00
slice Update copyright years. 2016-01-04 15:30:50 +01:00
slice_array Update copyright years. 2016-01-04 15:30:50 +01:00
valarray Constrain std::valarray functions and operators 2016-01-22 21:15:41 +00:00