RE: [Boost-Users] boost::lexical_cast string to string problem
I and many others have requested fixes for this for a very long time.
Basically, it involves creating class templates to do the actual conversion.
It's not the most complicated system, just nobody has done it yet. If you
search the boost list archives, you'll see a lot of mail about this. There
is no quick solution to your problem though.
-----Original Message-----
From: Jason Fischl [mailto:yg-boost-users@m.gmane.org]
Sent: Monday, May 20, 2002 5:21 PM
To: boost-users@yahoogroups.com
Subject: [Boost-Users] boost::lexical_cast string to string problem
I'm seeing a problem with lexical_cast. The following code when trying to
convert from string to
string fails when passed an empty string. The library code that is doing
this lexical_cast does
not and can not know that the input and output types are the same.
I believe that this code should not throw.
#include <iostream>
#include
participants (1)
-
Tom Matelich