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

Method ~EvaluatorStack

eval/eval/evaluator_stack.h:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 EvaluatorStack(EvaluatorStack&&) = delete;
34
35 ~EvaluatorStack() {
36 if (max_size() > 0) {
37 const size_t n = size();
38 std::destroy_n(values_begin_, n);
39 std::destroy_n(attributes_begin_, n);
40 cel::internal::SizedDelete(data_, SizeBytes(max_size_));
41 }
42 }
43
44 EvaluatorStack& operator=(const EvaluatorStack&) = delete;
45 EvaluatorStack& operator=(EvaluatorStack&&) = delete;

Callers

nothing calls this directly

Calls 3

SizedDeleteFunction · 0.85
max_sizeFunction · 0.50
sizeFunction · 0.50

Tested by

no test coverage detected