siplasplas
A library for C++ reflection and introspection
preprocessor.hpp
1 #ifndef SIPLASPLAS_UTILITY_PREPROCESSOR_HPP
2 #define SIPLASPLAS_UTILITY_PREPROCESSOR_HPP
3 
4 #define SIPLASPLAS_PP_IMPL_CAT(x, y) x ## y
5 #define SIPLASPLAS_PP_CAT(x, y) SIPLASPLAS_PP_IMPL_CAT(x, y)
6 
7 #define SIPLASPLAS_PP_IMPL_STR(x) #x
8 #define SIPLASPLAS_PP_STR(x) SIPLASPLAS_PP_IMPL_STR(x)
9 
10 #endif // SIPLASPLAS_UTILITY_PREPROCESSOR_HPP