gcc/libstdc++-v3/testsuite
Paolo Carlini 9b88236b34 random.h (_Adaptor): Simplify for _DInputType always a floating point type.
2009-06-19  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/random.h (_Adaptor): Simplify for _DInputType always
	a floating point type.
	(uniform_int_distribution<>::uniform_int_distribution(_IntType,
	_IntType)): Fix second default argument.
	(uniform_int_distribution<>::_M_call): Remove.
	(uniform_int_distribution<>::operator()(_UniformRandomNumberGenerator&,
	const param_type&)): Only declare.
	* include/bits/random.tcc (uniform_int_distribution<>::_M_call(
	_UniformRandomNumberGenerator&, result_type, result_type, true_type):
	Remove.
	uniform_int_distribution<>::operator()(_UniformRandomNumberGenerator&,
	const param_type&): Define here.
	(geometric_distribution<>::operator()(_UniformRandomNumberGenerator&,
	const param_type&), discrete_distribution<>::operator()
	(_UniformRandomNumberGenerator&, const param_type&), 
	piecewise_constant_distribution<>::operator()
	(_UniformRandomNumberGenerator&, const param_type&),
	piecewise_linear_distribution<>::operator()
	(_UniformRandomNumberGenerator&, const param_type&)): Use double as
	the second template argument of _Adaptor.
	* testsuite/26_numerics/random/uniform_int_distribution/cons/
	default.cc: Adjust.

From-SVN: r148720
2009-06-19 17:49:31 +00:00
..
17_intro Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
18_support exception_ptr.h (exception_ptr::swap(exception_ptr&&)): Remove. 2009-06-16 22:24:41 +01:00
19_diagnostics call.c (implicit_conversion): Handle conversion from initializer-list to scalar. 2009-05-27 18:23:41 -04:00
20_util re PR libstdc++/40273 ([C++0x] Invalid conversion to bool is reported) 2009-05-27 20:32:30 +00:00
21_strings 40160.cc: Remove spurious double include. 2009-05-15 23:31:59 +00:00
22_locale re PR libstdc++/40184 (locale(const char* std_name) can create invalid facets for nonuniform locale) 2009-05-19 18:20:47 +00:00
23_containers check_construct_destroy.h: New. 2009-06-18 01:40:44 +00:00
24_iterators Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
25_algorithms re PR libstdc++/39546 (parallel mode doesn't support implicit string conversion) 2009-05-06 11:20:35 +00:00
26_numerics random.h (_Adaptor): Simplify for _DInputType always a floating point type. 2009-06-19 17:49:31 +00:00
27_io re PR libstdc++/39880 (Specialisation is_error_code_enum<errc> should not exist) 2009-04-25 19:00:52 +00:00
28_regex Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
29_atomics aggregate.cc: Remove xfail. 2009-06-05 18:37:00 +00:00
30_threads stl_pair.h (swap): Do not swap rvalues. 2009-05-18 23:15:56 +01:00
abi Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
backward Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
data Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ext re PR libstdc++/40299 (Rope + C++0x mode = build error) 2009-06-02 09:06:31 +00:00
lib re PR libstdc++/36211 (__iconv_adaptor chooses char** where const char** is required) 2009-05-15 09:23:58 +00:00
libstdc++-abi Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libstdc++-dg Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
performance Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tr1 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
util throw_allocator.h: Rework. 2009-06-05 08:45:26 +00:00
Makefile.am Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
Makefile.in abi.exp: Add multilib support. 2009-02-23 20:42:53 +00:00