首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

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

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com