function template
<random>

std::relational operators

equality (1)
template <class RealType>bool operator== ( const student_t_distribution<RealType>& lhs,                  const student_t_distribution<RealType>& rhs );
inequality (2)
template <class RealType>bool operator!= ( const student_t_distribution<RealType>& lhs,                  const student_t_distribution<RealType>& rhs );
Relational operators
Performs the appropriate equality or inequality comparison operation between the student_t_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
student_t_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