> Can't this be all in a macro? It's still a lot of duplication. > > I'm still not a fan, but I think with a macro it wouldn't be too bad. > > Ugh, not a fan of macros. They expand to a single line of code and make > debugging hard. I'll do a v5 with a macro :-/
I suppose you could inlines with callbacks too, with one liner functions for the operands. -Andi