MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / UnsafePut

Method UnsafePut

common/values/value_builder.cc:968–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

966 }
967
968 void UnsafePut(Value key, Value value) override {
969 auto insertion = map_->insert({std::move(key), std::move(value)});
970 ABSL_DCHECK(insertion.second);
971 if (entries_trivially_destructible_) {
972 entries_trivially_destructible_ =
973 ArenaTraits<>::trivially_destructible(insertion.first->first) &&
974 ArenaTraits<>::trivially_destructible(insertion.first->second);
975 }
976 }
977
978 size_t Size() const override { return map_->size(); }
979

Callers 2

CloneMethod · 0.80
CloneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected