Boost logo

Boost :

Subject: Re: [boost] Checking interest in to_string functions
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-09-30 04:42:03


On Fri, Sep 30, 2011 at 6:20 AM, Antony Polukhin <antoshkka_at_[hidden]> wrote:
> Is there interest in stoi, stoll, stof, to_string, to_wstring,
> to_u16string, stod and other functions for char, wchar_t, char16_t and
> char32_t conversions?
> Shall I add them to lexical_cast library, or as a separate conversion library?

I'd definitely like to see to_string and to_wstring. I use int to string a lot.
Are stoi, stoll etc standard names?
I was thinking of to_int instead of stoi. t_long_long is a bit long
compared to stoll though, but not unreasonable IMO.

Olaf


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