$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Kostya Altukhov (kostya_at_[hidden])
Date: 2001-07-23 02:54:41
Hello,
I recently discovered even more surprising behavior of
lexical_cast (at least on VC++6sp4):
locale::global(locale("german"));
// ...
int i = 12345;
string s = lexical_cast<string>(i); // this will succeed
double d = lexical_cast<double>(s); // this will throw
I am kinda cautious about using lexical_cast after that,
especially when not in "C" locale...
Kostya