| 181 | } |
| 182 | |
| 183 | template <typename Iter> void fixNumericLocaleInput(Iter begin, Iter end) { |
| 184 | char decimalPoint = getDecimalPoint(); |
| 185 | if (decimalPoint == '\0' || decimalPoint == '.') { |
| 186 | return; |
| 187 | } |
| 188 | for (; begin != end; ++begin) { |
| 189 | if (*begin == '.') { |
| 190 | *begin = decimalPoint; |
| 191 | } |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Return iterator that would be the new end of the range [begin,end), if we |
no test coverage detected