最終更新日時(UTC): 2024年12月19日 12時50分11秒 Akira Takahashi が更新
履歴 編集
friend bool operator==(const philox_engine& x, const philox_engine& y);
等値比較を行う。
aとbの状態シーケンスの、全ての値を等値比較し、等しければtrue、そうでなければfalseを返す。
a
b
true
false
O(状態シーケンスのサイズ)
#include <cassert> #include <random> int main() { std::philox4x32 e1; std::philox4x32 e2; assert(e1 == e2); assert(!(e1 != e2)); }