MCPcopy Create free account
hub / github.com/bytedance/bolt / toString

Function toString

bolt/expression/tests/ExprEncodingsTest.cpp:114–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112};
113
114std::string toString(const std::vector<EncodingOptions>& options) {
115 std::stringstream out;
116
117 for (auto i = 0; i < options.size(); ++i) {
118 if (i > 0) {
119 out << ", ";
120 }
121 out << options[i].toString();
122 }
123 return out.str();
124}
125
126template <typename T>
127struct VectorAndReference {

Callers

nothing calls this directly

Calls 3

strMethod · 0.80
sizeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected