$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [convert] Now with Boost.Parameter interface.
From: Vladimir Batov (vladimir.batov_at_[hidden])
Date: 2009-05-04 00:29:48
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.
Thanks,
Vladimir.