Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
ClassicNumberStream.h File Reference
#include <limits>
#include <locale>
#include <sstream>
Include dependency graph for ClassicNumberStream.h:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

std::ostringstream donner::MakeClassicNumberStream (std::streamsize precision=std::numeric_limits< double >::max_digits10)
 Returns an output string stream for serializing numbers that are read back later: it is imbued with the classic "C" locale, so the C++ global locale cannot change the decimal point or add digit grouping.