//json_reader.cppboolReader::decodeDouble(Token&token){conststd::strings=std::string(token.start_,token.end_);std::istringstreamstm(s);doublevalue;if(!(stm>>value)){returnaddError("'"+s+"' is not a number.",token);}currentValue()=value;returntrue;}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Testing this, Visual C++ 2010:
Result:
I solved by replacing this code:
Solution to the problem without changing code:
Русская специфика :)