------- 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

Reply via email to