Range Redesign: Empty Ranges
Dom DiSc
dominikus at scherkl.de
Wed Mar 6 10:56:48 UTC 2024
On Wednesday, 6 March 2024 at 08:56:02 UTC, Arafel wrote:
> On 05.03.24 17:41, Alexandru Ermicioi wrote:
>> On Tuesday, 5 March 2024 at 14:39:17 UTC, Dom DiSc wrote:
>>> Are there infinite ranges that are indeed not forward ranges?
>>
>> /dev/random could be such a range.
If you have a source of real entropy, ok. But
pseudo-random-number-generators do have a seed and with same seed
produces always the same numbers.
> Or a range that returns captured data from a sensor.
Ok, that's a more convincing example. This is really hard to
copy. Requires perfect knowlegde in a deterministic universe :-)
More information about the Digitalmars-d
mailing list