|
Boost : |
Subject: Re: [boost] [system][filesystem v3] Question about error_code arguments
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2009-10-22 09:39:28
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk