Boost logo

Boost :

Subject: Re: [boost] Review Request: Introduction of boost::string namespace and string-conversion functions
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2009-02-11 17:04:38

> Based on the previous string-conversion-related discussion that
> revolved
> around lexical_cast (started with
> and Dave's
> suggestion ( I
> would like to propose to create a new
> boost::string
> namespace where I'd expect all string-related functionality might be
> logically housed. Dave already mentioned that "Jeff Garland had a
> really
> nice set of proposed extensions to
> std::string that could live in the same space".


I just wanted to add a general use case/requirement for such a collection of
(conversion)facilities. IMHO, these functions need to integrate well with
Spirit.Qi (parsing) and Spirit.Karma (generating), while this integration
needs to be twofold:

a) The boost.string facilities should be able to use Qi/Karma for conversion
of arbitrary types
b) Qi/Karma currently contain highly optimized conversion routines for
numeric<-->string conversions (different integer and floating point types).
I would like to see those low level conversion routines moved into
Boost.String allowing Qi/Karma to use them.

Regards Hartmut

Boost list run by bdawes at, gregod at, cpdaniel at, john at