最終更新日時: 2025年07月12日 02時16分44秒 (JST) Koichi Murase が更新
履歴 編集
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)); }