
22 Oct
2009
22 Oct
'09
1:39 p.m.
Interesting. I had briefly considered making error_code& ec the first argument, but rejected it as an unusual ordering of arguments that would draw criticism. But I hadn't considered the variadic template issue, which seems to be coming up in other designs, too.
What is unusual about having "output" parameters first? The return value itself always appears first, so it is only natural to begin the parameter list with the "other" output parameters.