[v3] PR libstdc++/42408

Ed Smith-Rowland 3dw4rd@verizon.net
Tue Feb 2 00:05:00 GMT 2010


Paolo Carlini wrote:
> Hi,
>
> let's templatize that constructor and that seed member, which indeed are
> templates in the draft Walter Brown is working on. The constraining
> should be good enough, we can tweak it later, when the iter of the
> de-conceptified specs proceeds. Tested x86_64-linux, committed to mainline.
>
> Paolo.
>
> /////////////////
>   
Heh, I was just about to send out this patch for this very thing ;-)
These should have been templates even in concept I think.
Ignore the patch I guess.

The patch I had was for what I thought were defects.  Besides the 
template Sseq ctors and seeds I think that shuffle_order_engine should 
compare not just the engine but also the saves engine executions that 
are .  The requirement is that a sequence of invocations of the 
shuffle_order_engine should return the same results.  This requires 
equality of the rest of the state I think.

I'll make a patch for just that and a test case by tomorrow.

Ed



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: random.patch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20100202/21ff513f/attachment.ksh>


More information about the Libstdc++ mailing list