------- Comment #3 from redi at gcc dot gnu dot org 2010-04-06 10:53 ------- (In reply to comment #0) > > As best as I can tell, std::random_shuffle wants its random-number > generating functor to return results in the range [0,N), where N is the > parameter it passes to the functor; i.e., the upper-bound is exclusive > (and the lower-bound inclusive).
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3056.pdf changes the third random_shuffle overload to shuffle and changes the requirements -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43660 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100406105345.11519.qm...@sourceware.org