Код: Выделить всё
#define MY_MACRO(cond, msg) \
do \
{ \
if (!(cond)) \
{ \
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78241866/convert-macro-to-a-function-but-cannot-concatenate-inputs-using-stdstringstrea[/url]
Мобильная версия