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