std::independent_bits_engine::seed
void seed(); | (1) | (since C++11) |
|---|---|---|
void seed( result_type value ); | (2) | (since C++11) |
template< class Sseq > void seed( Sseq& seq ); | (3) | (since C++11) |
使用新的种子值重新初始化基础引擎的内部状态。
1%29种子基础引擎与默认种子值。有效呼叫e.seed(),在哪里e是潜在的引擎。
2%29种子下引擎具有种子值s.有效地打电话e.seed(value),在哪里e是潜在的引擎。
3%29种子下引擎与种子序列seq.有效地打电话e.seed(seq),在哪里e是潜在的引擎。此模板仅在下列情况下参与重载解析:Sseq有资格SeedSequence特别是,如果下列情况下,此模板不参与重载解析。Sseq隐式可转换为result_type...
参数
value | - | seed value to use in the initialization of the internal state of the underlying engine |
|---|---|---|
seq | - | seed sequence to use in the initialization of the internal state of the underlying engine |
返回值
%280%29
例外
%280%29
© cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

