Namespaces
Variants

operator== (std::philox_engine)

From cppreference.net
friend bool operator == ( const philox_engine & lhs, const philox_engine & rhs ) ;
(C++26부터)

두 개의 유사 난수 엔진을 비교합니다. 두 엔진의 내부 상태가 동일하면, 즉 operator ( ) 를 임의의 횟수만큼 호출했을 때 동등한 값을 생성한다면 두 엔진은 동일합니다.

이 함수는 일반적인 unqualified 또는 qualified lookup 으로는 보이지 않으며, argument-dependent lookup 에 의해서만 찾을 수 있습니다. 이는 decltype ( * this ) 가 인자들의 연관 클래스(associated class)일 때만 가능합니다.

!= 연산자는 합성된 operator== 로부터 생성됩니다.

매개변수

lhs, rhs - 비교할 엔진

반환값

true 엔진이 동일한 경우, false 그렇지 않은 경우.