« Return to Thread: [convert] Now with Boost.Parameter interface.

Re: [convert] Now with Boost.Parameter interface.

by Vladimir Batov-2 :: Rate this Message:

Reply to Author | View in Thread

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.




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: [convert] Now with Boost.Parameter interface.