|
Boost : |
Subject: Re: [boost] Boost.Convert+Boost.Parameter
From: Vladimir Batov (batov_at_[hidden])
Date: 2009-02-28 08:47:22
> 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?
V.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk