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

Function ExprPtrFromAny

parser/parser.cc:100–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100std::unique_ptr<Expr> ExprPtrFromAny(std::any&& any) {
101 return absl::WrapUnique(std::any_cast<Expr*>(std::move(any)));
102}
103
104Expr ExprFromAny(std::any&& any) {
105 auto expr = ExprPtrFromAny(std::move(any));

Callers 1

ExprFromAnyFunction · 0.85

Calls 1

WrapUniqueFunction · 0.85

Tested by

no test coverage detected