MCPcopy Create free account
hub / github.com/apache/arrow / FromTypes

Method FromTypes

cpp/src/arrow/type.cc:953–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951}
952
953std::vector<TypeHolder> TypeHolder::FromTypes(
954 const std::vector<std::shared_ptr<DataType>>& types) {
955 std::vector<TypeHolder> type_holders;
956 type_holders.reserve(types.size());
957 for (const auto& type : types) {
958 type_holders.emplace_back(type);
959 }
960 return type_holders;
961}
962
963// ----------------------------------------------------------------------
964

Callers

nothing calls this directly

Calls 3

emplace_backMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected