Namespaces
Variants
Actions

Talk:cpp/numeric/random/independent bits engine/seed

From cppreference.com

The seed method doesn't specify if the seed information updates or replaces the existing state. It is common for re-seeding to update the state, but it should still be mentioned.

stepping through the links to where it is defined (which takes me to cpp/named_req/RandomNumberEngine, it says "e.seed(s) sets e == E(s)" (that is, engine is now equal to a freshly-constructed engine that used this seed) --Cubbi (talk) 08:51, 23 February 2023 (PST)