#include <Truncate.h>
Static Public Member Functions | |
static bool | greater_than (LEFT lhs, RIGHT rhs) |
Definition at line 243 of file Truncate.h.
static bool ACE_Utils::Safe_Comparator< LEFT, RIGHT, false, true >::greater_than | ( | LEFT | lhs, | |
RIGHT | rhs | |||
) | [inline, static] |
Definition at line 245 of file Truncate.h.
{ // Prevent wrap-around when casting to unsigned. if (rhs < 0) return true; // since lhs is always positive else { // Implicit promotion of unsigned LEFT and RIGHT types here. return lhs > To_Unsigned<RIGHT>() (rhs); } }