MCPcopy Create free account
hub / github.com/apache/impala / BasicInsertPolicy

Class BasicInsertPolicy

be/src/gutil/strings/split.h:1169–1172  ·  view source on GitHub ↗

Cannot use output iterator here (e.g. std::inserter, std::back_inserter) because some callers use non-standard containers that don't have iterators, only an insert() or push_back() method.

Source from the content-addressed store, hash-verified

1167// because some callers use non-standard containers that don't have iterators,
1168// only an insert() or push_back() method.
1169struct BasicInsertPolicy {
1170 template <class C, class V>
1171 void operator()(C* c, const V& v) const { c->insert(v); }
1172};
1173
1174struct BackInsertPolicy {
1175 template <class C, class V>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected