mp_units::utility::operator==¶
Return true if two piecewise linear distributions have the same parameters.
Synopsis¶
Declared in <mp-units/utility/random.h>
bool operator==(piecewise_linear_distribution const& __d1, piecewise_linear_distribution const& __d2);
Note
This function is a hidden friend of piecewise_linear_distribution, declared inside its base class piecewise_linear_distribution: it can be found only through argument-dependent lookup.
Return Value¶
true if the objects are equal, false otherwise
Parameters¶
| Name | Description |
|---|---|
| __d1 | The left operand |
| __d2 | The right operand |