Compile-Time RNG
Era Scarecrow via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 21 04:00:23 PST 2016
On Thursday, 21 January 2016 at 01:49:27 UTC, Timon Gehr wrote:
> On 01/21/2016 01:32 AM, tsbockman wrote:
>> On Wednesday, 20 January 2016 at 23:21:04 UTC, CTRNG wrote:
>>> Just thought this might be of interest to some of you here.
>>
>> That's clever (and devious).
>
> It only works because compile-time introspection is ill-defined
> though. I don't expect it to keep working indefinitely.
Hmm it does seem having an RNG during compile-time would be
useful, although I'm trying to come up with a use-case for when
it would actually work, or how you'd use it.
More information about the Digitalmars-d
mailing list