open-source-parsers/jsoncpp

Use std::ostringstream for numeric formatting

Open

#419 geöffnet am 11. Feb. 2016

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (2.602 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (7.542 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 18h 26m) (10 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide