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

Function NetworkAddressRepClone

codelab/network_functions.cc:223–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223cel::OpaqueValue NetworkAddressRepClone(
224 const cel::OpaqueValueDispatcher* absl_nonnull,
225 cel::OpaqueValueContent content, google::protobuf::Arena* absl_nonnull arena) {
226 const NetworkAddressRep* rep = content.To<const NetworkAddressRep*>();
227 ABSL_DCHECK(rep != nullptr);
228 return NetworkAddressRep::MakeValue(*rep).GetOpaque();
229}
230
231// Opaque Value types can be implemented either with a shared dispatcher or
232// with a subclass (using vtable dispatch).

Callers

nothing calls this directly

Calls 2

MakeValueFunction · 0.85
GetOpaqueMethod · 0.45

Tested by

no test coverage detected