Skip to main content

operator>=

bool operator>=(const UnitAlgebra& v) const;

Compare if this object is greater than or equal to the argument v.

Parameters

  • v (UnitAlgebra) Object to compare to
  • returns (bool) Whether this object is greater than or equal to the argument.

Example

SST::UnitAlgebra* num0 = new UnitAlgebra("3bps");
SST::UnitAlgebra* num1 = new UnitAlgebra("2b/s");

sst_assert(num0 >= num1, CALL_INFO, -1, "Error: num0 is definitely >= num1!!");
#include <sst/core/unitalgebra.h>