operator==,!=(std::chi_squared_distribution)
Min standard notice:
Compares two distribution objects. Two distribution objects are equal when parameter values and internal state is the same.
# Declarations
friend bool operator==( const chi_squared_distribution& lhs,
const chi_squared_distribution& rhs );
(since C++11)
friend bool operator!=( const chi_squared_distribution& lhs,
const chi_squared_distribution& rhs );
(since C++11) (until C++20)
# Parameters
lhs, rhs: distribution objects to compare
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 3519 | C++11 | the form of equality operators were unspecified(could be hidden friends or free function templates) | specified to be hidden friends |