P99
#define P99_TYPED_TERN (   COND,
  YES,
  NO 
)

A compile time ternary operator that is analogous to COND ? YES : NO that keeps the type of the chosen expression.

When there is full _Generic support this is implemented with that feature. If not, the fallback from gcc for that purpose is used.

Definition at line 517 of file p99_generic.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines