MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / toString

Method toString

source/src/tools/string.h:13–13  ·  view source on GitHub ↗

string convert

Source from the content-addressed store, hash-verified

11
12 // string convert
13 static std::string toString(char val) { char str[] = { val, '\0' }; return str; }
14 static std::string toString(wchar_t val) { char str[] = { (char)val, '\0' }; return str; }
15 static std::string toString(const char* val) { return val; }
16 static std::string toString(std::string val) { return val; }

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected