
on Mon May 04 2009, Vladimir Batov <vladimir.batov-AT-wrsa.com.au> wrote:
Should have proof-read before posting. Apologies.
Vladimir.Batov <at> wrsa.com.au> writes: 1. Both interfaces (for locale and dothrow) are currently supported:
#1 int i=convert<int>::from(str, 0)(locale_=new_locale)(throw_=true); #2 int i=convert<int>::from(str, 0) >> new_locale >> dothrow;
Should I remove #1?
Meant to say "Should I remove #2?"
I understand how to achieve
int i=convert<int>::from(str, 0)((locale_=new_locale, throw_=true));
(with double quotes) ... (a list inside single quotes).
Certainly meant double *brackets*. Apologies.
You should be able to do it without the double parens. Is there documentation missing? -- Dave Abrahams BoostPro Computing http://www.boostpro.com