std::subtract_with_carry_engine::subtract_with_carry_engine
explicit subtract_with_carry_engine( result_type value = default_seed ); | (1) | (since C++11) |
---|---|---|
template< class Sseq > explicit subtract_with_carry_engine( Sseq& s ); | (2) | (since C++11) |
subtract_with_carry_engine( const subtract_with_carry_engine& ); | (3) | (since C++11) (implicitly declared) |
构造伪随机数引擎。
重载%282%29只参与以下情况下的过载解决方案:Sseq
有资格SeedSequence
.特别是,在下列情况下,它被排除在候选函数集合之外:Sseq
可转换为result_type
...
参数
value | - | seed value to use in the initialization of the internal state |
---|---|---|
s | - | seed sequence to use in the initialization of the internal state |
复杂性
另见
seed | sets the current state of the engine (public member function) |
---|
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com