|
Boost : |
Subject: Re: [boost] Boost.Convert+Boost.Parameter
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-02-28 10:24:05
Vladimir Batov wrote:
>> From: "Vladimir Batov" <batov_at_[hidden]>
>>> int i = convert::from(str, default_ = -1, radix_ = 10, locale_= ...);
>
> How about
>
> int i = convert::from(str, -1)(radix_ = 10, locale_= ...);
>
> and both styles seem to coexist happily. I'd expect many people to be
> comfortable with I/O Stream-based approach. As above we'd accommodate
> all. A "unifying" compromise?
Yes, that's a possible alternative.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk