4 ms·
What? That macro is super straightforward. Yes, generating C++ templates from CPP macros is a little ugly, but it's not particularly hard to understand. CPP ma
by PeCaN 10y ago
What? That macro is super straightforward. Yes, generating C++ templates from CPP macros is a little ugly, but it's not particularly hard to understand.
CPP macros only start to get weird once you start implementing control structures in them. http://pastebin.com/raw/tNaX99eA http://pastebin.com/raw/tNaX99eA (Yes, that's code from a project I work on. Don't ask.)
- hellofunk 10y agoI didn't say it was hard to understand; but it does scare me to depend on any C-style macro like that in a C++ project.