Opened 22 years ago
Last modified 13 years ago
#922 closed Feature Requests (fixed)
Lexical cast and wide characters — at Initial Version
| Reported by: | brey | Owned by: | nobody |
|---|---|---|---|
| Milestone: | Component: | lexical_cast | |
| Version: | None | Severity: | Optimization |
| Keywords: | Cc: | kevlin@… |
Description
It would be nice to make lexical_cast be handle to
translate through means other than a char-width
string. One way to address this is follows:
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.
This feature request is derived from:
http://groups.yahoo.com/group/boost/message/10937
Note:
See TracTickets
for help on using tickets.
