C++ Logo

std-proposals

Advanced search

[std-proposals] solution proposal for Issue 2524: generate_canonical can occasionally return 1.0

From: Juan Lucas Rey <juanlucasrey_at_[hidden]>
Date: Thu, 4 Dec 2025 19:05:49 +0000
in the current proposal,
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p0952r2.html

it is mentioned "In particular, code that depends on a specific
sequence of results from repeated invocations, or on a particular
number of calls to the URBG argument, will be broken."

This solution avoids breaking this.

Received on 2025-12-04 19:06:02