Partager via


mersenne_twister_engine::discard

Discards values in the sequence.

void discard(unsigned long long count);

Parameters

  • count
    The number of values to discard.

Remarks

This member function effectively calls (*this)() count times and discards each value.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

mersenne_twister_engine Class

Other Resources

<random> Members