Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#define LOGGED_CALL_1(fct, a1) \
wrap_with_logs(#fct, hana::make_tuple(#a1), fct, a1);
#define LOGGED_CALL_2(fct, a1, a2) \
wrap_with_logs(#fct, hana::make_tuple(#a1, #a2), fct, a1, a2);
#define LOGGED_CALL_3(fct, a1, a2, a3) \
wrap_with_logs(#fct, hana::make_tuple(#a1, #a2, #a3), fct, a1, a2, a3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment