Random string samples & unicode - Reprise
Jonathan M Davis
jmdavisprog at gmail.com
Sun Sep 12 18:54:16 PDT 2010
On Sunday 12 September 2010 18:25:27 Andrei Alexandrescu wrote:
> string res = to!string(take(randomCover(d, rndGen), 2));
>
> That doesn't work for a different reason, and is a bug worth filing. In
> fact - no need, I just submitted a fix
> (http://www.dsource.org/projects/phobos/changeset/1988). Thanks for
> bringing this up!
Skipping the array() call and going straight to to!string() would certainly
clean this sort of code up.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list