38 imbue(std::locale(
"C"));
43 imbue(std::locale(
"C"));
48 std::string float_string;
49 *
this >> float_string;
50 size_t comma_index = float_string.find(
',');
51 if (comma_index != std::string::npos)
53 float_string[comma_index] =
'.';
57 if (float_reader.fail())
59 this->setstate(std::ios::failbit);