Skip to content

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

@statementreply

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.

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