Boost logo

Boost :

Subject: [boost] [Review] Boost.Convert library, last day
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-05-02 11:05:50

This is a reminder that formal review of the Boost.Convert library by
Vladimir Batov ends today, May 2.

There have only been a few reviews of the library so the library
welcomes reviews. If you are one of the people who have been
dissatisfied by the perceived limitations of Boost lexical_cast, or have
discussed such limitations on Boost mailing lists in the past, please
look at the library and give a review of it, as its intent is to
offer a greatly enhanced version of lexical_cast as a new library.

* Its Purpose *

The library builds on the past boost::lexical_cast experience, then
takes those conversion-related ideas further to suit better today's
applications and programing needs. It still offers simple, minimal
interface, familiar conversion behavior and additionally provides:

* throwing and non-throwing conversion-failure behavior;
* support for the default/fallback value to be returned when
conversion fails;
* two types of the conversion-failure check - basic/simple and
* formatting support based on the standard std::streams and
std::stream-based manipulators (like std::hex, std::scientific, etc.);
* support for different locales;
* support for boost::range-compliant char and wchar_t-based containers;
* no DefaultConstructibility requirement for the Target/Destination type;
* consistent framework to uniformly incorporate any type-to-type
conversions, extensibility and additional room to grow.

With its present support for string-to-type and type-to-string
conversions it is an essential tool for applications making extensive
use of configuration or MS-Windows-Registry-style files or having to
process/prepare considerable amounts of data in, say, XML, etc. More
so, it is easily extendable to accommodate, specialize and uniformly
deploy new user-defined type-to-type conversions.

* Where to get it *

The Boost Vault is accesible again after being down for most of the
week, so you can get the library from the Boost Vault at

You can also get the library, using Subversion, from

The HTML documentation is part of the distribution and can be found at
libs/convert/index.html in the distribution above.

* Writing a review *

The reviews and all comments should be submitted to the developers list,
and the email should have "[convert] Review" at the beginning of the
subject line to make sure it's not missed.

Please explicitly state in your review whether the library should be

The general review checklist:

     - What is your evaluation of the design?
     - What is your evaluation of the implementation?
     - What is your evaluation of the documentation?
     - What is your evaluation of the potential usefulness of the
     - Did you try to use the library? With what compiler? Did you
       have any problems?
     - How much effort did you put into your evaluation? A glance? A
       quick reading? In-depth study?
     - Are you knowledgeable about the problem domain?

And finally, every review should answer this question:

     - Do you think the library should be accepted as a Boost library?

Be sure to say this explicitly so that your other comments don't
obscure your overall opinion.

Edward Diener,
Review Manager

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