Boost logo

Boost :

Subject: Re: [boost] Checking interest in to_string functions
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2011-10-13 12:25:06


2011/10/13 Vicente Botet <vicente.botet_at_[hidden]>:
> In particular I want to use them in Boost.Chrono. Of course, in the mean
> time I'm using lexical_cast. Have you already a clear idea of the namespace
> of these functions? boost? boost::string_conversions?

Have no idea about the namespace name. I`ll think about it later.
Function overloads for boost::containers::basic_string will be in
namespace boost::containers (to allow ADL), and will be imported in
the namespace of the to_string library.

> IMO, I would prefer just boost, as these are standard functions.

Some of the boost users write "using namespace boost; using namespace
std;" in their projects, so I think it would be better to place thous
functions in a separate namespace to avoid ambiguity.

Best regards,
Antony Polukhin


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