1
//===----------------------------------------------------------------------===//
3
// The LLVM Compiler Infrastructure
5
// This file is dual licensed under the MIT and the University of Illinois Open
6
// Source Licenses. See LICENSE.TXT for details.
8
//===----------------------------------------------------------------------===//
12
// template<class IntType = int>
13
// class discrete_distribution
15
// void param(const param_type& parm);
23
typedef std::discrete_distribution<> D;
24
typedef D::param_type P;
25
double d0[] = {.3, .1, .6};
29
assert(d.param() == p);