random numbers in bulk

Ulrich Drepper drepper@gmail.com
Mon Aug 27 00:44:00 GMT 2012


On Sun, Aug 26, 2012 at 1:36 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> But I've just seen Paolo's suggestion for a __generate_impl that both
> use, and I prefer that idea.

How about the following.  I introduced a __generate_impl() member
function.  This required in a few cases an additional wrapper function
but nothing too bad. The template parameter order is changed, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QQ4
Type: application/octet-stream
Size: 48774 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120827/0849bf7d/attachment.obj>


More information about the Libstdc++ mailing list