Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
all
-
Incorrect Behavior
Description
The example program random_shuffle.cpp produces unexpected output in recent builds. Running it interactively shows the following diff:
$ ./random_shuffle >random_shuffle.out && diff -C3 random_shuffle.out > *** random_shuffle.out Thu Mar 20 12:53:37 2008 --- /nfs/homes/sebor/stdcxx/examples/manual/out/random_shuffle.out Tue Feb 20 16:34:53 2007 *************** *** 1,5 **** Elements before random_shuffle: ! 1 2 3 4 5 6 7 8 9 1e+01 Elements after random_shuffle: ! 9 8 7 6 2 3 1 4 5 1e+01 --- 1,5 ---- Elements before random_shuffle: ! 1 2 3 4 5 6 7 8 9 10 Elements after random_shuffle: ! 9 8 7 6 2 3 1 4 5 10