
28 Feb
2009
28 Feb
'09
3:24 p.m.
Vladimir Batov wrote:
From: "Vladimir Batov" <batov@people.net.au>
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.