Constructs a xor_combine_engine, seeding both base generators with values produced by seq.

template<typename It>xor_combine_engine(It& first,It last);

Constructs a xor_combine_engine, seeding both base generators with values from the iterator range [first, last) and changes first to point to the element after the last one used. If there are not enough elements in the range to seed both generators, throws std::invalid_argument.

xor_combine_engine public member functions

voidseed();

Calls seed() for both base generators.

voidseed(result_type v);

seeds both base generators with v.

template<typename SeedSeq>voidseed(SeedSeq& seq);

seeds both base generators with values produced by seq.

template<typename It>voidseed(It& first,It last);

seeds both base generators with values from the iterator range [first, last) and changes first to point to the element after the last one used. If there are not enough elements in the range to seed both generators, throws std::invalid_argument.