Preprocessor meta programming

Macros

#define SENF_PP_SEQ_BACK(seq)
 Return last element of a sequence. More...
 
#define SENF_CAT_RECURS1(a, b)   SENF_CAT_RECURS1_I(a,b)
 
#define SENF_CAT_RECURS1_I(a, b)   a ## b
 
#define SENF_CAT_RECURS2(a, b)   SENF_CAT_RECURS2_I(a,b)
 
#define SENF_CAT_RECURS2_I(a, b)   a ## b
 
#define SENF_CAT_RECURS3(a, b)   SENF_CAT_RECURS3_I(a,b)
 
#define SENF_CAT_RECURS3_I(a, b)   a ## b
 

Detailed Description

preprocessor.hh provides some additional helper macros based on the Boost.Preprocessor library.

Macro Definition Documentation

◆ SENF_CAT_RECURS1

#define SENF_CAT_RECURS1 (   a,
 
)    SENF_CAT_RECURS1_I(a,b)

Definition at line 42 of file preprocessor.hh.

◆ SENF_CAT_RECURS1_I

#define SENF_CAT_RECURS1_I (   a,
 
)    a ## b

Definition at line 43 of file preprocessor.hh.

◆ SENF_CAT_RECURS2

#define SENF_CAT_RECURS2 (   a,
 
)    SENF_CAT_RECURS2_I(a,b)

Definition at line 44 of file preprocessor.hh.

◆ SENF_CAT_RECURS2_I

#define SENF_CAT_RECURS2_I (   a,
 
)    a ## b

Definition at line 45 of file preprocessor.hh.

◆ SENF_CAT_RECURS3

#define SENF_CAT_RECURS3 (   a,
 
)    SENF_CAT_RECURS3_I(a,b)

Definition at line 46 of file preprocessor.hh.

◆ SENF_CAT_RECURS3_I

#define SENF_CAT_RECURS3_I (   a,
 
)    a ## b

Definition at line 47 of file preprocessor.hh.

◆ SENF_PP_SEQ_BACK

#define SENF_PP_SEQ_BACK (   seq)

Return last element of a sequence.

Definition at line 39 of file preprocessor.hh.