MCPcopy Create free account
hub / github.com/chen3feng/toft / StringAppendInteger

Function StringAppendInteger

base/string/concat.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16template <typename T>
17static void StringAppendInteger(std::string* str, T value)
18{
19 char buffer[kMaxIntegerStringSize];
20 str->append(buffer, WriteIntegerToBuffer(value, buffer) - buffer);
21}
22
23void StringAppend(std::string* str, short value)
24{

Callers 1

StringAppendFunction · 0.85

Calls 1

WriteIntegerToBufferFunction · 0.85

Tested by

no test coverage detected