MCPcopy Create free account
hub / github.com/Tencent/TNN / IntToStringFilter

Function IntToStringFilter

source/tnn/utils/string_format.h:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39template <typename Int>
40std::string IntToStringFilter(Int val) {
41 if (static_cast<Int>(0) == val) {
42 return "";
43 } else {
44 return IntToString(val);
45 }
46}
47
48template <typename T>
49std::string VectorToString(std::vector<T> val) {

Callers 1

GetProfilingDataInfoMethod · 0.85

Calls 1

IntToStringFunction · 0.85

Tested by

no test coverage detected