| 189 | } |
| 190 | |
| 191 | template <typename Iter> void fixNumericLocaleInput(Iter begin, Iter end) { |
| 192 | char decimalPoint = getDecimalPoint(); |
| 193 | if (decimalPoint == '\0' || decimalPoint == '.') { |
| 194 | return; |
| 195 | } |
| 196 | for (; begin != end; ++begin) { |
| 197 | if (*begin == '.') { |
| 198 | *begin = decimalPoint; |
| 199 | } |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | /** |
| 204 | * Return iterator that would be the new end of the range [begin,end), if we |
no test coverage detected