std::discard_block_engine::discard_block_engine
STD::丢弃[医]块[医]引擎::丢弃[医]块[医]发动机
discard_block_engine( | (1) | (since C++11) |
---|---|---|
explicit discard_block_engine( result_type s | (2) | (since C++11) |
template< class Sseq > explicit discard_block_engine( Sseq& seq | (3) | (since C++11) |
explicit discard_block_engine( const Engine& e | (4) | (since C++11) |
explicit discard_block_engine( Engine&& e | (5) | (since C++11) |
构造新的伪随机引擎适配器。
1%29默认构造函数。底层引擎也是默认构造的。
2%29构造底层引擎s
...
3%29用种子序列构造底层引擎。seq
.此构造函数仅参与重载解决方案Sseq
有资格SeedSequence
特别是,如果下列情况下,此构造函数不参与重载解析。Sseq
隐式可转换为result_type
...
4%29构造底层引擎,其副本为e
...
5%29移动-使用e
...e
持有未指定的状态,但之后有效。
参数
s | - | integer value to construct the underlying engine with |
---|---|---|
seq | - | seed sequence to construct the underlying engine with |
e | - | pseudo-random number engine to initialize with |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
http://en.cppreference.com/w/cpp/数值/随机/丢弃[医]块[医]发动机/报废[医]块[医]发动机