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

Method WrapFunction

runtime/function_adapter.h:287–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 absl::AnyInvocable<T(U, const Function::InvokeContext&) const>;
286
287 static std::unique_ptr<cel::Function> WrapFunction(FunctionType fn) {
288 return std::make_unique<UnaryFunctionImpl>(std::move(fn));
289 }
290
291 template <typename F>
292 static std::enable_if_t<

Callers

nothing calls this directly

Calls 3

descriptor_poolMethod · 0.45
message_factoryMethod · 0.45
arenaMethod · 0.45

Tested by

no test coverage detected