6 ms·
And that's almost exactly what the macro expands to. It's just some nice syntactic sugar on top.
by CountHackulus 12y ago
And that's almost exactly what the macro expands to. It's just some nice syntactic sugar on top.
- nitrogen 12y agoThe function declaration with the macro is a bit awkward, IMO. I don't mean to downplay the awesomeness of the macro approach, though; FOR_EACH and putting __VA_ARGS__ at the beginning of the macro argument list isn't something I had considered before.