Interesting bug with std.random.uniform and dchar
monarch_dodra via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jun 8 02:02:43 PDT 2014
On Sunday, 8 June 2014 at 08:54:30 UTC, Joseph Rushton Wakeling
via Digitalmars-d-learn wrote:
> I think it should suffice to forbid uniform!T from accepting
> dchar parameters and to tweak the integral-type uniform()'s
> internal check to avoid calling that specialization with dchar.
>
> Thoughts ... ?
>
> Thanks & best wishes,
>
> -- Joe
Why would we ban uniform!T from accepting dchar? I see no reason
for that.
Let's just fix the bug by tweaking the internal check.
More information about the Digitalmars-d-learn
mailing list