open-source-parsers/jsoncpp

Use std::ostringstream for numeric formatting

Open

#419 opened on 2016年2月11日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)C++ (2,602 forks)batch import
bughelp wanted

Repository metrics

Stars
 (7,542 stars)
PR merge metrics
 (平均マージ 18h 26m) (30d で 10 merged PRs)

説明

We've had lots of problems with std::snprintf. E.g. #418.

As BillyGoto says:

Could we switch to std::ostringstream instead? Its numeric formatting is actually specified in terms of printf's output, and it's everywhere.

コントリビューターガイド