I got stuck here…
#define CONCAT(a,b) BOOST_PP_STRINGIZE(BOOST_PP_CAT(a,b))
#define CONCAT1(a,b,c) CONCAT(CONCAT(a,b),c) and so on.
How i can to generate the CONCAT macro even if 20 arguments? May be i can to use BOOST_PP_SEQ_FOR_EACH but i don’t understand how to do it?
It depends on you use-case.
This
will concatenate the sequence and then stringize it. It is also possible to simply stringize each argument as
"a" "b" "c"is equivalent to"abc".