Skip to content

mp_units::utility::operator==

Return true if two uniform real distributions have the same parameters.

Synopsis

Declared in <mp-units/utility/random.h>

bool operator==(uniform_real_distribution const& __d1, uniform_real_distribution const& __d2);

Note

This function is a hidden friend of uniform_real_distribution, declared inside its base class uniform_real_distribution: it can be found only through argument-dependent lookup.

Return Value

true if the objects are equal, false otherwise

Parameters

NameDescription
__d1The left operand
__d2The right operand