#pragma once #ifdef _MSC_VER # define FUNCTION_NAME __FUNCSIG__ #else # define FUNCTION_NAME __PRETTY_FUNCTION__ #endif #define progn(...) [&]{__VA_ARGS__;}()