Opened 22 years ago
Last modified 13 years ago
#922 closed Feature Requests (fixed)
Lexical cast and wide characters — at Version 1
| Reported by: | brey | Owned by: | nobody |
|---|---|---|---|
| Milestone: | Component: | lexical_cast | |
| Version: | None | Severity: | Optimization |
| Keywords: | Cc: | kevlin@… |
Description (last modified by )
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
Change History (1)
comment:1 by , 15 years ago
| Cc: | added |
|---|---|
| Description: | modified (diff) |
| Severity: | → Showstopper |
Note:
See TracTickets
for help on using tickets.

Can't reassign this to Kevlin until he enters his email as described at TicketWorkflow