Boost logo

Boost :

Subject: Re: [boost] Formal Review Request: Boost.String.Convert
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-02-17 15:33:46


David Abrahams wrote:
> on Tue Feb 17 2009, Emil Dotchevski <emildotchevski-AT-gmail.com> wrote:
>
>> For example, to_string<int>(s) could also be written as
>> convert<int>(s).
>
> Probably just a slip of the mind, but:
>
> to_string doesn't need a template parameter.

Actually, it does, since I might want different string types to get.
Right now there are string and wstring, and more are coming in C++0x.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk