This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: random numbers in bulk


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.

Attachment: QQ4
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]