gcc/libstdc++-v3/testsuite
Paolo Carlini 879b9073c8 random.h (discrete_distribution<>::param_type:: param_type()): Default construct the vectors.
2010-10-13  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/random.h (discrete_distribution<>::param_type::
	param_type()): Default construct the vectors.
	(discrete_distribution<>::param_type::probabilities): Adjust.
	(discrete_distribution<>::probabilities): Likewise.
	(discrete_distribution<>::max): Likewise.
	(piecewise_constant_distribution<>::param_type::
	param_type()): Default construct the vectors.
	(piecewise_constant_distribution<>::param_type::intervals): Adjust.
	(piecewise_constant_distribution<>::param_type::densities): Likewise.
	(piecewise_constant_distribution<>::intervals): Likewise.
	(piecewise_constant_distribution<>::densities): Likewise.
	(piecewise_constant_distribution<>::min): Likewise.
	(piecewise_constant_distribution<>::max): Likewise.
	(piecewise_linear_distribution<>::param_type::
	param_type()): Default construct the vectors.
	(piecewise_linear_distribution<>::param_type::intervals): Adjust.
	(piecewise_linear_distribution<>::param_type::densities): Likewise.
	(piecewise_linear_distribution<>::intervals): Likewise.
	(piecewise_linear_distribution<>::densities): Likewise.
	(piecewise_linear_distribution<>::min): Likewise.
	(piecewise_linear_distribution<>::max): Likewise.
	* include/bits/random.tcc (discrete_distribution<>::param_type::
	_M_initialize): Deal quickly with raw _M_prob equivalent to
	a default constructed param_type, just clear the vector.
	(discrete_distribution<>::operator()): Early return 0 for a
	default constructed distribution.
	(piecewise_constant_distribution<>::param_type::_M_initialize):
	Likewise for _M_int and _M_den.
	(piecewise_constant_distribution<>::operator()): Early return
	for a default constructed distribution.
	(piecewise_linear_distribution<>::param_type::_M_initialize):
	Likewise.
	(piecewise_linear_distribution<>::operator()): Early return
	for a default constructed distribution.
	* testsuite/26_numerics/random/discrete_distribution/operators/
	call-default.cc: New.
	* testsuite/26_numerics/random/piecewise_constant_distribution/
	operators/call-default.cc: Likewise.

From-SVN: r165427
2010-10-13 16:31:17 +00:00
..
17_intro
18_support typeindex: New. 2010-09-22 12:04:08 +00:00
19_diagnostics system_error (system_error::system_error(error_code), [...]): Fix for what() to return the NBTS recommended in the Note in 19.5.6.2/14. 2010-09-16 14:55:37 +00:00
20_util re PR libstdc++/45893 ([C++0x] [DR 817] Finish updating std::bind to rvalue refs) 2010-10-08 01:44:12 +01:00
21_strings libstdc++.exp ([check_v3_target_debug_mode]): Fix so that it really detects when debug mode is activated. 2010-09-03 18:10:46 +00:00
22_locale locale_facets_nonio.tcc (time_get<>:: _M_extract_via_format): Tighten somewhat error checking. 2010-10-07 11:23:07 +00:00
23_containers [multiple changes] 2010-10-11 22:32:01 +00:00
24_iterators [multiple changes] 2010-07-27 17:27:06 +00:00
25_algorithms stl_algo.h (shuffle): Change signature consistently with random_shuffle (US 121). 2010-08-11 17:10:04 +00:00
26_numerics random.h (discrete_distribution<>::param_type:: param_type()): Default construct the vectors. 2010-10-13 16:31:17 +00:00
27_io re PR libstdc++/45841 (r164529 cris-elf libstdc++ 27_io/basic_filebuf/seekoff/char/2-io.cc) 2010-10-06 00:17:28 +00:00
28_regex [multiple changes] 2010-07-27 17:27:06 +00:00
29_atomics
30_threads future: Enable allocator support. 2010-10-08 02:06:27 +01:00
abi
backward
config
data
decimal
ext [multiple changes] 2010-09-15 10:46:39 +00:00
lib re PR libstdc++/45841 (r164529 cris-elf libstdc++ 27_io/basic_filebuf/seekoff/char/2-io.cc) 2010-10-07 21:46:51 +00:00
libstdc++-abi abi.exp: Add "libstdc++-abi/" to abi_check FAIL message. 2010-09-06 09:55:40 -04:00
libstdc++-dg conformance.exp: Apply check_v3_target_fileio as a gate for tests in subdirectories matching the... 2010-10-07 21:44:36 +00:00
performance [multiple changes] 2010-09-14 10:27:36 +00:00
tr1
util extract_symvers: Add support for tracking TLS symbols. 2010-10-01 17:10:38 +00:00
Makefile.am extract_symvers: Use pvs if present. 2010-10-01 11:58:21 +00:00
Makefile.in extract_symvers: Use pvs if present. 2010-10-01 11:58:21 +00:00