This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Implement hypergeometric_distribution as an extension.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: Paolo Carlini <paolo dot carlini at oracle dot com>, libstdc++ at gcc dot gnu dot org
- Date: Fri, 22 Nov 2013 10:31:23 +0100
- Subject: Re: Implement hypergeometric_distribution as an extension.
- Authentication-results: sourceware.org; auth=none
- References: <52893874 dot 2060003 at verizon dot net> <52893C41 dot 8000800 at oracle dot com> <5289447D dot 7090102 at verizon dot net> <52895327 dot 8030407 at oracle dot com> <528D63FD dot 8040704 at verizon dot net> <528D6515 dot 9000709 at verizon dot net>
Ed Smith-Rowland <3dw4rd@verizon.net> writes:
> +void
> +test01()
> +{
> + using namespace __gnu_test;
> +
> + std::mt19937 eng;
> +
> + __gnu_cxx::hypergeometric_distribution hd1{15, 3, 2};
libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/operators/values.cc:36:42: error: missing template arguments before 'hd1'
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."