A seed sequence conforming to [rand.req.seedseq]for use within bit generators.
Synopsis
Declared in <absl/random/seed_sequences.h>
using SeedSeq = /* implementation-defined */::SaltedSeedSeq<std::seed_seq>;
Description
absl::SeedSeq, unlike std::seed_seq, additionally salts the generated seeds with extra implementation‐defined entropy. For that reason, you can use absl::SeedSeq in combination with standard library bit generators (e.g. std::mt19937) to introduce non‐determinism in your seeds.
Example:
absl::SeedSeq my_seed_seq({a, b, c}); std::mt19937 my_bitgen(my_seed_seq);
Created with MrDocs