最終更新日時(UTC): 2025年07月11日 17時16分44秒 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)); }