773. issues with random

Section: 29.5.9.2 [rand.dist.uni] Status: NAD Submitter: P.J. Plauger Opened: 2008-01-14 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [rand.dist.uni].

View all issues with NAD status.

Discussion:

  1. 29.5.9.2.1 [rand.dist.uni.int] uniform_int constructor has changed the default max constructor parameter from 9 (in TR1) to max(). The value is arbitrary at best and shouldn't be lightly changed because it breaks backward compatibility.
  2. 29.5.9.2.1 [rand.dist.uni.int] uniform_int has a parameter param that you can provide on construction or operator(), set, and get. But there is not even a hint of what this might be for.
  3. 29.5.9.2.2 [rand.dist.uni.real] uniform_real. Same issue as #2.

[ Bellevue: ]

NAD. Withdrawn.

Proposed resolution: