function template
<random>

std::relational operators

equality (1)
template <class RealType>
bool operator== ( const cauchy_distribution<RealType>& lhs,
                  const cauchy_distribution<RealType>& rhs );
inequality (2)
template <class RealType>
bool operator!= ( const cauchy_distribution<RealType>& lhs,
                  const cauchy_distribution<RealType>& rhs );
Relational operators
Performs the appropriate equality or inequality comparison operation between the cauchy_distribution objects lhs and rhs.

Two distributions compare equal if they have the same parameters and the same internal state (if any) that makes them produce the same sequence of random numbers when their operator() is invoked using equal generators.

Parameters

lhs, rhs
cauchy_distribution objects (to the left- and right-hand side of the operator, respectively), having both the same template parameter (IntType).

Return Value

true if the condition holds, and false otherwise.

See also