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

std::discard_block_engine::discard

void discard( unsigned long long z );

?

(since C++11)

通过以下方式推进内部状态z时代。相当于呼叫operator()z重复并丢弃结果。底层引擎的状态可能会提前超过z时代。

参数

z

-

integer value specifying the number of times to advance the state by

返回值

%280%29

例外

%280%29

另见

operator()

advances the state of the underlying engine and returns the generated value (public member function)

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

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

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com