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

Function UnsafeParsedMessageValue

common/values/parsed_message_value.h:229–232  ·  view source on GitHub ↗

Creates a `ParsedMessageValue` without specifying a managing arena. The message must outlive the `ParsedMessageValue` or any value that might be derived from it. Prefer to use `cel::Value::WrapMessageUnsafe()`.

Source from the content-addressed store, hash-verified

227// The message must outlive the `ParsedMessageValue` or any value that might
228// be derived from it. Prefer to use `cel::Value::WrapMessageUnsafe()`.
229inline ParsedMessageValue UnsafeParsedMessageValue(
230 const google::protobuf::Message* absl_nonnull value) {
231 return ParsedMessageValue(value);
232}
233
234} // namespace cel
235

Callers 1

WrapMessageUnsafeMethod · 0.85

Calls 1

ParsedMessageValueClass · 0.70

Tested by

no test coverage detected