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