CARB_UNLIKELY

Defined in carb/Defines.h

CARB_UNLIKELY(expr)

If the current compiler is GCC, defined as __builtin_expect(!!(<expr>), 0). Otherwise, defined as (!!(<expr>)).

Parameters
  • expr – The expression to evaluate, optimized with a false outcome likely and expected.

Returns

The boolean result of expr.