Does the standard require the output of seed_seq to be the same for different implementations of the stl? In other words, is the following guaranteed to produce the 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());
for (unsigned x : seq)
std::cout << x << " " << std::endl;
Aucun commentaire:
Enregistrer un commentaire