$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Amin Kharchi (marcoh77_at_[hidden])
Date: 2006-11-09 17:16:09
Hello!
Is it possible to set a locale for the lexical_cast? It looks like that
it is only possible to convert english/us numbers to a string?
Example:
float a = boost::lexical_cast<float>("12,3");
This would be in english 12.3. But I get a bad_cast exception for german
numbers.
A locale would be very helpful.
Best regards
Amin Kharchi