open-source-parsers/jsoncpp

Use std::ostringstream for numeric formatting

Open

#419 ouverte le 11 févr. 2016

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)C++ (2 602 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (7 542 stars)
Métriques de merge PR
 (Merge moyen 18h 26m) (10 PRs mergées en 30 j)

Description

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.

Guide contributeur