gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
cats.hpp File Reference

Concatenation macros. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CAT(X, Y)   CAT2(X,Y)
 Concatenate macro arguments for 2-7 arguments. More...
 
#define CAT2(X, Y)   X##Y
 
#define CAT_2   CAT
 
#define CAT_3(X, Y, Z)   CAT(X,CAT(Y,Z))
 
#define CAT_4(A, X, Y, Z)   CAT(A,CAT_3(X,Y,Z))
 
#define CAT_5(A, B, X, Y, Z)   CAT(A,CAT_4(B,X,Y,Z))
 
#define CAT_6(A, B, C, X, Y, Z)   CAT(A,CAT_5(B,C,X,Y,Z))
 
#define CAT_7(A, B, C, D, X, Y, Z)   CAT(A,CAT_6(B,C,D,X,Y,Z))
 

Detailed Description

Concatenation macros.


Authors:

Author
Pat Scott (patsc.nosp@m.ott@.nosp@m.physi.nosp@m.cs.m.nosp@m.cgill.nosp@m..ca)
Date
2014 Oct

Definition in file cats.hpp.

Macro Definition Documentation

◆ CAT

#define CAT (   X,
 
)    CAT2(X,Y)

Concatenate macro arguments for 2-7 arguments.

Definition at line 22 of file cats.hpp.

◆ CAT2

#define CAT2 (   X,
 
)    X##Y

Definition at line 23 of file cats.hpp.

◆ CAT_2

#define CAT_2   CAT

Definition at line 24 of file cats.hpp.

◆ CAT_3

#define CAT_3 (   X,
  Y,
 
)    CAT(X,CAT(Y,Z))

Definition at line 25 of file cats.hpp.

◆ CAT_4

#define CAT_4 (   A,
  X,
  Y,
 
)    CAT(A,CAT_3(X,Y,Z))

Definition at line 26 of file cats.hpp.

◆ CAT_5

#define CAT_5 (   A,
  B,
  X,
  Y,
 
)    CAT(A,CAT_4(B,X,Y,Z))

Definition at line 27 of file cats.hpp.

◆ CAT_6

#define CAT_6 (   A,
  B,
  C,
  X,
  Y,
 
)    CAT(A,CAT_5(B,C,X,Y,Z))

Definition at line 28 of file cats.hpp.

◆ CAT_7

#define CAT_7 (   A,
  B,
  C,
  D,
  X,
  Y,
 
)    CAT(A,CAT_6(B,C,D,X,Y,Z))

Definition at line 29 of file cats.hpp.