Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      operator==(std::philox_engine)

      From cppreference.com
      <cpp‎ |numeric‎ |random‎ |philox engine
       
       
       
      Pseudo-random number generation
       
       
      friendbool 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 ofoperator().

      This function is not visible to ordinaryunqualified orqualified lookup, and can only be found byargument-dependent lookup whendecltype(*this) is an associated class of the arguments.

      The!= operator issynthesized fromoperator==.

      [edit]Parameters

      lhs, rhs - engines to compare

      [edit]Return value

      true if the engines are equal,false otherwise.

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/numeric/random/philox_engine/operator_cmp&oldid=175452"

      [8]ページ先頭

      ©2009-2025 Movatter.jp