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

Stringification macro. More...

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

Go to the source code of this file.

Macros

Stringification macros
#define STRINGIFY(X)   STRINGIFY2(X)
 
#define STRINGIFY2(X)   #X
 
#define SAFE_STRINGIFY(...)   SAFE_STRINGIFY2(__VA_ARGS__)
 Stringification macros that can stringify arguments with commas. More...
 
#define SAFE_STRINGIFY2(...)   #__VA_ARGS__
 

Detailed Description

Stringification macro.

Separated from other util_macros to facilicate code factorisation.


Authors:

Author
Pat Scott (patsc.nosp@m.ott@.nosp@m.physi.nosp@m.cs.m.nosp@m.cgill.nosp@m..ca)
Date
2013 Apr, Oct
2014 Mar
Author
Ben Farmer (benja.nosp@m.min..nosp@m.farme.nosp@m.r@fy.nosp@m.sik.s.nosp@m.u.se)
Date
2016 Jan

Definition in file stringify.hpp.

Macro Definition Documentation

◆ SAFE_STRINGIFY

#define SAFE_STRINGIFY (   ...)    SAFE_STRINGIFY2(__VA_ARGS__)

Stringification macros that can stringify arguments with commas.

Definition at line 32 of file stringify.hpp.

◆ SAFE_STRINGIFY2

#define SAFE_STRINGIFY2 (   ...)    #__VA_ARGS__

Definition at line 33 of file stringify.hpp.

◆ STRINGIFY

#define STRINGIFY (   X)    STRINGIFY2(X)

◆ STRINGIFY2

#define STRINGIFY2 (   X)    #X

Definition at line 30 of file stringify.hpp.