Skip to content

<random>: Still provides the uniform_int and uniform_real class templates #1002

Description

@statementreply

Describe the bug

Michael Winterberg wrote:

The <random> header still provides uniform_int and uniform_real in the std namespace despite them never being standardized in the IS. Since they're the implementation base classes for the actual standard class templates uniform_int_distribution and uniform_real_distribution, I'm guessing this will have to wait for the mystical future ABI break. The main pain is that since uniform_int is much shorter to type than uniform_int_distribution it's easy to use them accidentally.

Also tracked by DevCom-381099 and Microsoft-internal VSO-729899 / AB#729899.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedSomething works now, yay!

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions