Export (0) Print
Expand All

discard_block_engine Class

Generates a random sequence by discarding values returned by its base engine.

template<class Engine, size_t P, size_t R>
class discard_block_engine;

Engine

The base engine type.

P

Block size. The number of values in each block.

R

Used block. The number of values in each block that are used. The rest are discarded (P - R). Precondition: 0 < R ≤ P

discard_block_engine::discard_block_engine

discard_block_engine::base

discard_block_engine::discard

discard_block_engine::operator()

discard_block_engine::base_type

discard_block_engine::seed

For more information about engine members, see <random>.

This template class describes an engine adaptor that produces values by discarding some of the values returned by its base engine.

Header: <random>

Namespace: std

Show:
© 2014 Microsoft