open-source-parsers/jsoncpp
Ver no GitHubUse std::ostringstream for numeric formatting
Open
#419 aberto em 11 de fev. de 2016
bughelp wanted
Métricas do repositório
- Stars
- (7.542 stars)
- Métricas de merge de PR
- (Mesclagem média 18h 26m) (10 fundiu PRs em 30d)
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.