Boost logo

Boost :

From: Ed Brey (brey_at_[hidden])
Date: 2001-04-10 11:58:00

I recently realized that lexical cast doesn't provide any support for
wide characters. It would be nice to make it a bit more generic by
changing it to:

template<typename Target, typename Source, typename E = char>
Target lexical_cast(Source arg)
   std::basic_stringstream<E> interpreter;

Other options, such as using traits to try to deduce E from the target
type automatically, would be fine, too. Think of the above suggestion
as a starting point; however, it would plug what it currently a hole.

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