Namespaces
Variants
Actions

operator==(std::philox_engine)

From cppreference.com
< cpp‎ | numeric‎ | random‎ | philox engine
 
C++
 
Numerics library
 
Pseudo-random number generation
 
std::philox_engine
friend bool operator==( const philox_engine& lhs, const philox_engine& rhs );
(since C++26)

Compares two pseudo-random number engines. Two engines are equal, if their internal states are equivalent, that is, if they would generate equivalent values for any number of calls of operator().

This function is not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when decltype(*this) is an associated class of the arguments.

The != operator is synthesized from operator==.

[edit] Parameters

lhs, rhs - engines to compare

[edit] Return value

true if the engines are equal, false otherwise.

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant