c++ - Is the algorithm behind std::seed_seq defined? -
does standard require output of seed_seq
same different implementations of stl? in other words, following guaranteed produce same output on different standard compliant platforms, or not?
std::seed_seq sseq = { 1701, 1729, 1791 }; std::array<unsigned int, 5> seq; sseq.generate(seq.begin(), seq.end()); (unsigned x : seq) std::cout << x << " " << std::endl;
Comments
Post a Comment