Partager via


linear_congruential_engine::discard

Discards values in the sequence.

void discard(unsigned long long count);

Parameters

  • count
    The number of values to discard.

Remarks

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

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

linear_congruential_engine Class

Other Resources

<random> Members