PR69240 Define inequality operators for <random> param types
commitd0a6cf000d0432cf8d1232e50c2636e1c8f1b544
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2017 15:28:48 +0000 (20 15:28 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Jan 2017 15:28:48 +0000 (20 15:28 +0000)
tree93ec759f820a9b0cd2a26d566a712a341cf5872a
parent22346e0b208f7e74684947964f50d96a5cd969a5
PR69240 Define inequality operators for <random> param types

PR libstdc++/69240
* include/bits/random.h (uniform_real_distribution::param_type)
(normal_distribution::param_type, lognormal_distribution::param_type)
(gamma_distribution::param_type, chi_squared_distribution::param_type)
(cauchy_distribution::param_type, fisher_f_distribution::param_type)
(student_t_distribution::param_type)
(bernoulli_distribution::param_type, binomial_distribution::param_type)
(geometric_distribution::param_type)
(negative_binomial_distribution::param_type)
(poisson_distribution::param_type)
(exponential_distribution::param_type)
(weibull_distribution::param_type)
(extreme_value_distribution::param_type)
(discrete_distribution::param_type)
(piecewise_constant_distribution::param_type)
(piecewise_linear_distribution::param_type): Define operator!=.
* include/bits/uniform_int_dist.h
(uniform_int_distribution::param_type): Likewise.
* include/ext/random (beta_distribution::param_type)
(rice_distribution::param_type, nakagami_distribution::param_type)
(pareto_distribution::param_type, k_distribution::param_type)
(arcsine_distribution::param_type, hoyt_distribution::param_type)
(triangular_distribution::param_type)
(von_mises_distribution::param_type)
(hypergeometric_distribution::param_type)
(logistic_distribution::param_type)
(uniform_on_sphere_distribution::param_type)
(uniform_inside_sphere_distribution::param_type): Likewise.
* testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc:
Test construction with param_type.
* testsuite/26_numerics/random/binomial_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/chi_squared_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/exponential_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/extreme_value_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/gamma_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/geometric_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/negative_binomial_distribution/cons/
parms.cc: Likewise.
* testsuite/26_numerics/random/normal_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/poisson_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/student_t_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/cons/parms.cc:
Likewise.
* testsuite/26_numerics/random/weibull_distribution/cons/parms.cc:
Likewise.
* testsuite/ext/random/arcsine_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/beta_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/hoyt_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/hypergeometric_distribution/cons/parms.cc:
Likewise.
* testsuite/ext/random/k_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/logistic_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/nakagami_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/normal_mv_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/pareto_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/rice_distribution/cons/parms.cc: Likewise.
* testsuite/ext/random/triangular_distribution/cons/parms.cc:
Likewise.
* testsuite/ext/random/uniform_inside_sphere_distribution/cons/
parms.cc: Likewise.
* testsuite/ext/random/von_mises_distribution/cons/parms.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244722 138bc75d-0d04-0410-961f-82ee72b054a4
34 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/random.h
libstdc++-v3/include/bits/uniform_int_dist.h
libstdc++-v3/include/ext/random
libstdc++-v3/testsuite/26_numerics/random/bernoulli_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/binomial_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/cauchy_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/exponential_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/extreme_value_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/fisher_f_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/gamma_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/geometric_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/lognormal_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/negative_binomial_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/normal_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/poisson_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/student_t_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/cons/parms.cc
libstdc++-v3/testsuite/26_numerics/random/weibull_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/arcsine_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/beta_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/hoyt_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/hypergeometric_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/k_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/logistic_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/nakagami_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/normal_mv_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/pareto_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/rice_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/triangular_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/uniform_inside_sphere_distribution/cons/parms.cc
libstdc++-v3/testsuite/ext/random/von_mises_distribution/cons/parms.cc