[#BloombergLP-bslh-SeedGenerator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::SeedGenerator :relfileprefix: ../../ :mrdocs: This class template generates arbitrary‐length seeds from a user‐supplied RNG. == Synopsis Declared in `<bslh_seedgenerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class RANDOM_NUM_GEN> class SeedGenerator; ---- == Description This class template implements a seed generator which takes a user supplied random number generator and uses it to generate an arbitrary length seed. Note that this type inherits from the (template parameter) type `RANDOM_NUM_GEN` to take advantage of the empty‐base optimization. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslh/SeedGenerator/2constructor-05.adoc[`SeedGenerator`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bslh/SeedGenerator/generateSeed.adoc[`generateSeed`] | Generate a seed of the specified length and store it at the specified location. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#