MCPcopy Create free account
hub / github.com/Samsung/ONE / fixNumericLocale

Function fixNumericLocale

runtime/3rdparty/jsoncpp/jsoncpp.cpp:187–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 * @see https://github.com/open-source-parsers/jsoncpp/pull/9
186 */
187template <typename Iter> Iter fixNumericLocale(Iter begin, Iter end)
188{
189 for (; begin != end; ++begin)
190 {
191 if (*begin == ',')
192 {
193 *begin = '.';
194 }
195 }
196 return begin;
197}
198
199template <typename Iter> void fixNumericLocaleInput(Iter begin, Iter end)
200{

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected