Boost logo

Boost :

Subject: Re: [boost] [conversion] try_lexical_cast and 200$
From: Peter Dimov (lists_at_[hidden])
Date: 2013-12-12 18:43:27


Rob Stewart wrote:
> > bool try_lexical_cast<In, Out>(const In&, Out&), I'd say.
>
> I prefer output parameters to be first. It allows flexibility in adding
> arguments and even defaulting some.

I myself have put the output parameter of my "parse" example first, because
it takes two inputs. So you certainly have a point.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk