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

Function AbslStringify

common/allocator.h:42–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template <typename S>
42void AbslStringify(S& sink, AllocatorKind kind) {
43 switch (kind) {
44 case AllocatorKind::kArena:
45 sink.Append("ARENA");
46 return;
47 case AllocatorKind::kNewDelete:
48 sink.Append("NEW_DELETE");
49 return;
50 default:
51 sink.Append("ERROR");
52 return;
53 }
54}
55
56template <typename T = void>
57class NewDeleteAllocator;

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected