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

Function createTypeParameters

bolt/type/Type.cpp:326–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324
325namespace {
326std::vector<TypeParameter> createTypeParameters(
327 const std::vector<TypePtr>& children) {
328 std::vector<TypeParameter> parameters;
329 parameters.reserve(children.size());
330 for (const auto& child : children) {
331 parameters.push_back(TypeParameter(child));
332 }
333 return parameters;
334}
335
336std::string namesAndTypesToString(
337 const std::vector<std::string>& names,

Callers 2

RowTypeMethod · 0.85
FunctionTypeMethod · 0.85

Calls 4

TypeParameterClass · 0.85
reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected