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

Function IntToString

source/tnn/utils/string_format.h:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31template <typename Int>
32std::string IntToString(Int val) {
33 static_assert(std::is_integral<Int>::value, "Integral type required!");
34 std::stringstream stream;
35 stream << val;
36 return stream.str();
37}
38
39template <typename Int>
40std::string IntToStringFilter(Int val) {

Callers 1

IntToStringFilterFunction · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected