C++ inequality alternate options - MPGH