This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

510. Input_type for bernoulli_distribution

Section: 28.5.9.3 [rand.dist.bern], 99 [tr.rand.dist.bern] Status: NAD Submitter: Walter Brown Opened: 2005-07-03 Last modified: 2016-01-28

Priority: Not Prioritized

View all issues with NAD status.

Discussion:

In [tr.rand.dist.bern] the distribution currently requires;

typedef  int  input_type;

Proposed resolution:

We believe this is an unfortunate choice, and recommend instead:

typedef  unsigned int  input_type;

[ Berlin: Moved to NAD. N1932 makes this moot: the input_type template parameter has been eliminated. ]