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

operators (std::subtract_with_carry_engine)

template< class UIntType, size_t w, size_t s, size_t r > bool operator==( const subtract_with_carry_engine<UIntType,w,s,r>& lhs, const subtract_with_carry_engine<UIntType,w,s,r>& rhs );

(1)

(since C++11)

template< class UIntType, size_t w, size_t s, size_t r > bool operator!=( const subtract_with_carry_engine<UIntType,w,s,r>& lhs, const subtract_with_carry_engine<UIntType,w,s,r>& rhs );

(2)

(since C++11)

比较两个伪随机数引擎。两个引擎是相等的,如果它们的内部状态是等价的,也就是说,如果它们会为任意数量的调用生成等价的值。operator()...

参数

lhs, rhs

-

engines to compare

返回值

1%29true如果引擎是等价的,false否则。

2%29true如果引擎不相等,false否则。

例外

%280%29

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

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

扫码关注腾讯云开发者

领取腾讯云代金券