subtract_with_carry_engine::subtract_with_carry_engine

构造引擎。

explicit subtract_with_carry_engine(UIntType x0 = default_seed);
subtract_with_carry_engine(seed_seq& seq);

参数

  • x0
    种子值。

  • seq
    提供了个已随机打乱的种子类型 seed_seq 的对象。

备注

第一个构造函数构造对象并通过调用 seed(x0)将其初始化。第二个构造函数构造对象并通过调用 seed(seq)将其初始化。

要求

标头: <random>

命名空间: std

请参见

参考

<random>

subtract_with_carry_engine Class