pputl  0.2.1
pputl Preprocessor Utilities
Macros
iif.h File Reference

PPUTL_IIF - conditionally expands based on a 0 or 1 bit More...

#include "pputl/cat.h"
#include "pputl/nothing.h"

Go to the source code of this file.

Macros

#define PPUTL_IIF(bit)   PPUTL_CAT(PPUTL_DETAIL_IIF_, bit)
 
#define PPUTL_DETAIL_IIF_0(t, f)   f
 
#define PPUTL_DETAIL_IIF_1(t, f)   t
 

Detailed Description

PPUTL_IIF - conditionally expands based on a 0 or 1 bit