Boost logo

Boost Users :

From: ian whittley (imw_at_[hidden])
Date: 2005-06-02 16:11:21

>> int to(std::string const& arg, Type2Type<int> const&)
>> {
>> return atoi(arg.c_str());
>> }
> This won't reflect the global C++ locale.

heh - i'm afraid i don't understand what you mean by that :) is it
possible to rectify said problem as it would be nice to have a generic
way of handling conversions without the overhead of having to use
stringstreams all of the time.

ian whittley

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at