MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / to_string

Function to_string

Source/external/hps/hps.h:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38// Recommended for repeated use inside a loop.
39template <class T>
40void to_string(const T& t, std::string& str) {
41 str.clear();
42 StringOutputBuffer ob(str);
43 ob << t;
44 ob.flush();
45}
46
47// Serialize data t to an STL string and return it.
48template <class T>

Callers

nothing calls this directly

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected