MCPcopy Create free account
hub / github.com/Kitware/CMake / fixNumericLocale

Function fixNumericLocale

Utilities/cmjsoncpp/src/lib_json/json_tool.h:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 * @see https://github.com/open-source-parsers/jsoncpp/pull/9
93 */
94template <typename Iter> Iter fixNumericLocale(Iter begin, Iter end) {
95 for (; begin != end; ++begin) {
96 if (*begin == ',') {
97 *begin = '.';
98 }
99 }
100 return begin;
101}
102
103template <typename Iter> void fixNumericLocaleInput(Iter begin, Iter end) {
104 char decimalPoint = getDecimalPoint();

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…